Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007699/0.007699, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001887/0.001887, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.826/2.826, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 55.91 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.024/1.365, allocations: 218.5 MB / 1.421 GB, free: 8.473 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02868/1.394, allocations: 20.44 MB / 1.441 GB, free: 7.789 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/1.397, allocations: 63.62 kB / 1.441 GB, free: 7.727 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004011/1.401, allocations: 1.243 MB / 1.442 GB, free: 6.477 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/1.415, allocations: 4.078 MB / 1.446 GB, free: 2.383 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005079/1.42, allocations: 1.55 MB / 1.448 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01091/1.431, allocations: 6.962 MB / 1.455 GB, free: 9.859 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004173/1.435, allocations: 2.359 MB / 1.457 GB, free: 7.461 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005881/1.441, allocations: 2.399 MB / 1.459 GB, free: 5.055 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005881/1.447, allocations: 2.454 MB / 1.462 GB, free: 2.605 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001153/1.448, allocations: 340 kB / 1.462 GB, free: 2.273 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009498/1.457, allocations: 3.465 MB / 1.465 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002967/1.46, allocations: 1.45 MB / 1.467 GB, free: 13.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005326/1.466, allocations: 1.867 MB / 1.469 GB, free: 11.47 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01306/1.479, allocations: 5.767 MB / 1.474 GB, free: 5.691 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.479, allocations: 0 / 1.474 GB, free: 5.691 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.814e-06/1.479, allocations: 0 / 1.474 GB, free: 5.691 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001736/1.479, allocations: 4 kB / 1.474 GB, free: 5.688 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01169/1.491, allocations: 3.937 MB / 1.478 GB, free: 1.688 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.491, allocations: 8.625 kB / 1.478 GB, free: 1.68 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004941/1.496, allocations: 0.8313 MB / 1.479 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00521/1.501, allocations: 1.933 MB / 1.481 GB, free: 14.85 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.501, allocations: 201.4 kB / 1.481 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/1.502, allocations: 267.9 kB / 1.481 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00626/1.508, allocations: 3.284 MB / 1.484 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/1.508, allocations: 0 / 1.484 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002736/1.509, allocations: 112 kB / 1.485 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/1.509, allocations: 125.4 kB / 1.485 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007649/1.516, allocations: 4.627 MB / 1.489 GB, free: 6.191 MB / 1.17 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.01933/1.536, allocations: 10.92 MB / 1.5 GB, free: 10.59 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/1.542, allocations: 4.859 MB / 1.505 GB, free: 5.699 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/1.545, allocations: 2.539 MB / 1.507 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.547, allocations: 0.8644 MB / 1.508 GB, free: 2.121 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.842e-05/1.547, allocations: 73.7 kB / 1.508 GB, free: 2.039 MB / 1.186 GB Notification: Performance of pre-optimization done (n=399): time 4.669e-06/1.547, allocations: 0 / 1.508 GB, free: 2.039 MB / 1.186 GB Notification: Performance of matching and sorting (n=399): time 0.009824/1.556, allocations: 6.026 MB / 1.514 GB, free: 11.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/1.557, allocations: 94.55 kB / 1.514 GB, free: 11.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/1.559, allocations: 1.232 MB / 1.515 GB, free: 10.58 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002999/1.559, allocations: 93.7 kB / 1.515 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/1.56, allocations: 0.8095 MB / 1.516 GB, free: 9.664 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.561, allocations: 1.328 MB / 1.517 GB, free: 8.316 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009349/1.562, allocations: 0.5508 MB / 1.518 GB, free: 7.758 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.562, allocations: 305.1 kB / 1.518 GB, free: 7.457 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/1.565, allocations: 1.599 MB / 1.52 GB, free: 5.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/1.568, allocations: 1.909 MB / 1.522 GB, free: 3.902 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/1.574, allocations: 3.838 MB / 1.525 GB, free: 4 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.574, allocations: 4 kB / 1.525 GB, free: 0 / 1.201 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00791/1.582, allocations: 4.179 MB / 1.529 GB, free: 11.79 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/1.582, allocations: 14.22 kB / 1.529 GB, free: 11.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/1.582, allocations: 8 kB / 1.529 GB, free: 11.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-05/1.582, allocations: 19.98 kB / 1.53 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/1.585, allocations: 0.6787 MB / 1.53 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.52e-05/1.585, allocations: 17.8 kB / 1.53 GB, free: 11.06 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/1.588, allocations: 249.2 kB / 1.53 GB, free: 10.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.588, allocations: 116 kB / 1.531 GB, free: 10.7 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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 0.001588/1.59, allocations: 0.7312 MB / 1.531 GB, free: 9.957 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.591, allocations: 245 kB / 1.531 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008082/1.599, allocations: 4.625 MB / 1.536 GB, free: 5.047 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.599, allocations: 40 kB / 1.536 GB, free: 5.008 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/1.599, allocations: 4 kB / 1.536 GB, free: 5.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006046/1.605, allocations: 3.954 MB / 1.54 GB, free: 0.9922 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.62, allocations: 8.273 MB / 1.548 GB, free: 8.633 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.621, allocations: 0 / 1.548 GB, free: 8.633 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/1.623, allocations: 0.6593 MB / 1.549 GB, free: 7.973 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/1.624, allocations: 142.4 kB / 1.549 GB, free: 7.824 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000313/1.624, allocations: 83.97 kB / 1.549 GB, free: 7.742 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/1.628, allocations: 5.043 MB / 1.554 GB, free: 2.281 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.628, allocations: 4 kB / 1.554 GB, free: 2.277 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.642, allocations: 6.828 MB / 1.56 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/1.644, allocations: 0.7589 MB / 1.561 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000811/1.645, allocations: 68 kB / 1.561 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.648, allocations: 82.55 kB / 1.561 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006022/1.648, allocations: 226.8 kB / 1.562 GB, free: 10.24 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003827/1.649, allocations: 116 kB / 1.562 GB, free: 10.12 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001731/1.651, allocations: 0.8645 MB / 1.562 GB, free: 9.258 MB / 1.248 GB Notification: Performance of sort global known variables: time 3.01e-07/1.651, allocations: 0 / 1.562 GB, free: 9.258 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003542/1.654, allocations: 1.061 MB / 1.564 GB, free: 8.195 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009295/1.655, allocations: 343.8 kB / 1.564 GB, free: 7.848 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00724/1.662, allocations: 4.067 MB / 1.568 GB, free: 3.77 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.662, allocations: 0 / 1.568 GB, free: 3.77 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00437/1.667, allocations: 2.544 MB / 1.57 GB, free: 1.188 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00659/1.673, allocations: 1.082 MB / 1.571 GB, free: 124 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.687, allocations: 6.596 MB / 1.578 GB, free: 9.477 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.688, allocations: 1.942 MB / 1.58 GB, free: 7.492 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00395/1.692, allocations: 1.223 MB / 1.581 GB, free: 6.262 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009028/1.693, allocations: 239.4 kB / 1.581 GB, free: 6.027 MB / 1.264 GB Notification: Performance of SimCode: time 1.203e-06/1.693, allocations: 3.938 kB / 1.581 GB, free: 6.023 MB / 1.264 GB Notification: Performance of Templates: time 0.08522/1.779, allocations: 49.06 MB / 1.629 GB, free: 5.461 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches