Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.001117/0.001117, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6653 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.5 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.357, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.007/1.364, allocations: 213.6 MB / 1.159 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01623/1.381, allocations: 10.2 MB / 1.169 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002799/1.383, allocations: 38.41 kB / 1.169 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002547/1.386, allocations: 0.8399 MB / 1.17 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009759/1.396, allocations: 2.891 MB / 1.173 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/1.401, allocations: 1.403 MB / 1.174 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006102/1.407, allocations: 3.166 MB / 1.177 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/1.409, allocations: 1.036 MB / 1.178 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/1.411, allocations: 1.118 MB / 1.179 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/1.413, allocations: 1.073 MB / 1.18 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/1.414, allocations: 123 kB / 1.18 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006875/1.421, allocations: 2.738 MB / 1.183 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007142/1.421, allocations: 500 kB / 1.183 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/1.422, allocations: 0.7284 MB / 1.184 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00591/1.428, allocations: 2.784 MB / 1.187 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.428, allocations: 3.938 kB / 1.187 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.965e-06/1.428, allocations: 0 / 1.187 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.428, allocations: 0 / 1.187 GB, free: 9.551 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.004334/1.433, allocations: 1.804 MB / 1.189 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.433, allocations: 8.906 kB / 1.189 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/1.436, allocations: 426.5 kB / 1.189 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/1.437, allocations: 0.8537 MB / 1.19 GB, free: 7.391 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.38e-05/1.437, allocations: 75.31 kB / 1.19 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/1.437, allocations: 94.58 kB / 1.19 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/1.439, allocations: 1.195 MB / 1.191 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/1.439, allocations: 3.594 kB / 1.191 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.439, allocations: 45.19 kB / 1.191 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/1.44, allocations: 53.73 kB / 1.191 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.441, allocations: 1.065 MB / 1.192 GB, free: 6.023 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/1.447, allocations: 4.794 MB / 1.197 GB, free: 1.832 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/1.449, allocations: 0.9889 MB / 1.198 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.45, allocations: 0.5687 MB / 1.199 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/1.45, allocations: 0.6759 MB / 1.199 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/1.45, allocations: 44.78 kB / 1.199 GB, free: 112 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1.45, allocations: 4 kB / 1.199 GB, free: 108 kB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.00443/1.455, allocations: 2.297 MB / 1.201 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/1.455, allocations: 63 kB / 1.202 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/1.456, allocations: 0.6378 MB / 1.202 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/1.456, allocations: 40.45 kB / 1.202 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/1.456, allocations: 461.6 kB / 1.203 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.456, allocations: 295.1 kB / 1.203 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/1.457, allocations: 136.7 kB / 1.203 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.457, allocations: 390.5 kB / 1.203 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/1.457, allocations: 321.9 kB / 1.204 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/1.458, allocations: 431.2 kB / 1.204 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.459, allocations: 0.7799 MB / 1.205 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.459, allocations: 6.688 kB / 1.205 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00155/1.461, allocations: 0.9448 MB / 1.206 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.461, allocations: 9.75 kB / 1.206 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.461, allocations: 6.688 kB / 1.206 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/1.461, allocations: 54.17 kB / 1.206 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/1.462, allocations: 165.8 kB / 1.206 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005453/1.462, allocations: 0.604 MB / 1.207 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.463, allocations: 26.42 kB / 1.207 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.165e-05/1.463, allocations: 26.53 kB / 1.207 GB, free: 11.12 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004298/1.464, allocations: 304.7 kB / 1.207 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/1.464, allocations: 94.53 kB / 1.207 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/1.465, allocations: 0.9267 MB / 1.208 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.465, allocations: 8.188 kB / 1.208 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.465, allocations: 2.406 kB / 1.208 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.467, allocations: 0.932 MB / 1.209 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/1.469, allocations: 2.113 MB / 1.211 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.469, allocations: 3.984 kB / 1.211 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/1.47, allocations: 187.8 kB / 1.211 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.47, allocations: 11.19 kB / 1.211 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.474e-05/1.47, allocations: 23.48 kB / 1.211 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.47, allocations: 5.969 kB / 1.211 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.47, allocations: 0 / 1.211 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/1.472, allocations: 1.391 MB / 1.213 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/1.473, allocations: 241.9 kB / 1.213 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.473, allocations: 25.2 kB / 1.213 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/1.473, allocations: 19.59 kB / 1.213 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.473, allocations: 49.36 kB / 1.213 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/1.474, allocations: 30.11 kB / 1.213 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004973/1.474, allocations: 454.8 kB / 1.213 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.474, allocations: 0 / 1.213 GB, free: 6.93 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00085/1.475, allocations: 328.7 kB / 1.214 GB, free: 6.891 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0003641/1.475, allocations: 211.2 kB / 1.214 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.477, allocations: 0.9961 MB / 1.215 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.477, allocations: 0 / 1.215 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/1.478, allocations: 441.8 kB / 1.215 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.48, allocations: 0.594 MB / 1.216 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/1.484, allocations: 2.383 MB / 1.218 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/1.484, allocations: 1.12 MB / 1.219 GB, free: 3.414 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.485, allocations: 81.66 kB / 1.219 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/1.485, allocations: 2.438 kB / 1.219 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of Templates: time 0.02727/1.512, allocations: 18.69 MB / 1.238 GB, free: 3.156 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches