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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001327/0.001327, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001707/0.001707, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.627/2.627, allocations: 390.9 MB / 0.666 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 12 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.007, allocations: 142.4 MB / 0.9544 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2504/1.257, allocations: 194.6 MB / 1.144 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01613/1.273, allocations: 9.536 MB / 1.154 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/1.276, allocations: 35.75 kB / 1.154 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/1.278, allocations: 0.5475 MB / 1.154 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008909/1.287, allocations: 2.1 MB / 1.156 GB, free: 104 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004762/1.292, allocations: 0.9764 MB / 1.157 GB, free: 15.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006733/1.299, allocations: 3.877 MB / 1.161 GB, free: 11.24 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/1.301, allocations: 0.7453 MB / 1.162 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/1.304, allocations: 0.9883 MB / 1.163 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.307, allocations: 1.024 MB / 1.164 GB, free: 8.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003179/1.307, allocations: 59.94 kB / 1.164 GB, free: 8.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/1.313, allocations: 1.356 MB / 1.165 GB, free: 7.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009013/1.314, allocations: 426.7 kB / 1.166 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008399/1.315, allocations: 285.1 kB / 1.166 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/1.319, allocations: 1.843 MB / 1.168 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.319, allocations: 0 / 1.168 GB, free: 4.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.276e-06/1.319, allocations: 0 / 1.168 GB, free: 4.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.462e-05/1.319, allocations: 0 / 1.168 GB, free: 4.488 MB / 0.92 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.004385/1.323, allocations: 1.57 MB / 1.169 GB, free: 2.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.323, allocations: 8.031 kB / 1.169 GB, free: 2.859 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/1.326, allocations: 430 kB / 1.17 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.328, allocations: 0.8207 MB / 1.17 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.139e-05/1.328, allocations: 70 kB / 1.171 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.328, allocations: 99.89 kB / 1.171 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.33, allocations: 1.194 MB / 1.172 GB, free: 184 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/1.33, allocations: 4 kB / 1.172 GB, free: 180 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/1.331, allocations: 43.98 kB / 1.172 GB, free: 136 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-05/1.331, allocations: 49.97 kB / 1.172 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.333, allocations: 1.073 MB / 1.173 GB, free: 15 MB / 0.9356 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.006406/1.339, allocations: 4.727 MB / 1.178 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.341, allocations: 0.981 MB / 1.178 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/1.342, allocations: 0.5675 MB / 1.179 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/1.342, allocations: 0.6772 MB / 1.18 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.342, allocations: 47.17 kB / 1.18 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 5.069e-06/1.342, allocations: 0 / 1.18 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.005351/1.348, allocations: 2.292 MB / 1.182 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/1.348, allocations: 72.39 kB / 1.182 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008912/1.349, allocations: 0.6295 MB / 1.183 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/1.349, allocations: 41.7 kB / 1.183 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/1.349, allocations: 456 kB / 1.183 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/1.349, allocations: 291.7 kB / 1.183 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/1.349, allocations: 16 kB / 1.183 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.35, allocations: 394.7 kB / 1.184 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/1.35, allocations: 317.8 kB / 1.184 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/1.351, allocations: 422.5 kB / 1.185 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006272/1.351, allocations: 386.8 kB / 1.185 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.351, allocations: 4 kB / 1.185 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001641/1.353, allocations: 0.9385 MB / 1.186 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.353, allocations: 4 kB / 1.186 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/1.353, allocations: 4 kB / 1.186 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/1.353, allocations: 61.08 kB / 1.186 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/1.354, allocations: 155.8 kB / 1.186 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005485/1.355, allocations: 0.607 MB / 1.187 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.356, allocations: 103.8 kB / 1.187 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.401e-05/1.356, allocations: 24 kB / 1.187 GB, free: 100 kB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007519/1.357, allocations: 317.7 kB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.357, allocations: 86.97 kB / 1.187 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/1.359, allocations: 0.9284 MB / 1.188 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.359, allocations: 8 kB / 1.188 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.359, allocations: 3.984 kB / 1.188 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00142/1.36, allocations: 0.927 MB / 1.189 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/1.365, allocations: 2.115 MB / 1.191 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.365, allocations: 0 / 1.191 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/1.366, allocations: 191.8 kB / 1.191 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/1.366, allocations: 0 / 1.191 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/1.366, allocations: 28.05 kB / 1.191 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.366, allocations: 4 kB / 1.191 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.366, allocations: 0 / 1.191 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/1.368, allocations: 1.384 MB / 1.193 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/1.368, allocations: 244 kB / 1.193 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.369, allocations: 20 kB / 1.193 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009631/1.37, allocations: 85.73 kB / 1.193 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.37, allocations: 52.92 kB / 1.193 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-05/1.37, allocations: 27.98 kB / 1.193 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000656/1.371, allocations: 455 kB / 1.193 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.371, allocations: 3.938 kB / 1.193 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001144/1.372, allocations: 320 kB / 1.194 GB, free: 8.781 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004928/1.372, allocations: 226.7 kB / 1.194 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001671/1.374, allocations: 0.8093 MB / 1.195 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.374, allocations: 4.125 kB / 1.195 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/1.375, allocations: 437.5 kB / 1.195 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/1.377, allocations: 0.5626 MB / 1.196 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005885/1.383, allocations: 2.834 MB / 1.198 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.384, allocations: 1.132 MB / 1.2 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001534/1.386, allocations: 251.9 kB / 1.2 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/1.386, allocations: 79.42 kB / 1.2 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of SimCode: time 1.263e-06/1.386, allocations: 0 / 1.2 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of Templates: time 0.03768/1.424, allocations: 18.81 MB / 1.218 GB, free: 15.83 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches