Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006874/0.006874, allocations: 103.3 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 198.5 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 60.12 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9784/0.9799, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002657/0.9826, allocations: 1.493 MB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.9839, allocations: 0.8061 MB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.9839, allocations: 4 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.984, allocations: 7.875 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.984, allocations: 7.938 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.9845, allocations: 131.4 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.9846, allocations: 59.77 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.9847, allocations: 15.98 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.448e-05/0.9848, allocations: 15.98 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.9848, allocations: 31.84 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.9849, allocations: 8 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.9852, allocations: 171.7 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.9852, allocations: 4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.9852, allocations: 27.86 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.9855, allocations: 149.3 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.9855, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9855, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.9855, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005702/0.9861, allocations: 399.2 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.9861, allocations: 12.03 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.9862, allocations: 0.9375 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.9863, allocations: 180.2 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.9863, allocations: 4.375 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.9864, allocations: 384 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.9866, allocations: 70.22 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.9866, allocations: 4.188 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.9866, allocations: 3.938 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.9867, allocations: 3.938 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.9869, allocations: 71.92 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.9873, allocations: 288.7 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.9875, allocations: 58.53 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.9877, allocations: 36.92 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.9879, allocations: 89.09 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.9879, allocations: 30.56 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.9879, allocations: 4 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005552/0.9885, allocations: 137.5 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.9885, allocations: 51.41 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.771e-05/0.9886, allocations: 109.8 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.9886, allocations: 33.7 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.9887, allocations: 96.03 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.9887, allocations: 7.844 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.9887, allocations: 21.66 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.9888, allocations: 318.8 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.989, allocations: 31.97 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.9891, allocations: 35.95 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.9894, allocations: 68.73 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9894, allocations: 0 / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.9897, allocations: 101.6 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9898, allocations: 8 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9898, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.9898, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9899, allocations: 11.98 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9899, allocations: 0 / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.99, allocations: 15.89 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.99, allocations: 8 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.718e-05/0.9901, allocations: 117.8 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.9901, allocations: 4 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.9905, allocations: 113.8 kB / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.9905, allocations: 0 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.9905, allocations: 0 / 1.213 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9905, allocations: 3.938 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.9907, allocations: 177.6 kB / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9907, allocations: 0 / 1.213 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.9908, allocations: 15.98 kB / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.9908, allocations: 0 / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.9908, allocations: 0 / 1.213 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9908, allocations: 4 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9908, allocations: 0 / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.9912, allocations: 211.2 kB / 1.213 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.9913, allocations: 77.11 kB / 1.213 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.9913, allocations: 4 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.9914, allocations: 7.984 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.9915, allocations: 11.98 kB / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.9915, allocations: 0 / 1.213 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.9915, allocations: 91.27 kB / 1.214 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9915, allocations: 4 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002789/0.9918, allocations: 35.84 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.9921, allocations: 127.3 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.9925, allocations: 67.92 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9925, allocations: 4 kB / 1.214 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.9926, allocations: 39.89 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.993, allocations: 15.88 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.9933, allocations: 151.1 kB / 1.214 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.9935, allocations: 0.6885 MB / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.9936, allocations: 0 / 1.215 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.9936, allocations: 11.44 kB / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of SimCode: time 1.332e-06/0.9936, allocations: 0 / 1.215 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of Templates: time 0.003944/0.9976, allocations: 1.41 MB / 1.216 GB, free: 4.664 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches