Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001174/0.001174, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.45/2.45, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.7759, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1576/0.9335, allocations: 166.9 MB / 1.371 GB, free: 6.117 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.9453, allocations: 8.501 MB / 1.38 GB, free: 13.6 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.947, allocations: 39.81 kB / 1.38 GB, free: 13.56 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.9487, allocations: 0.5628 MB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.9528, allocations: 1.543 MB / 1.382 GB, free: 11.45 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002491/0.9553, allocations: 0.9999 MB / 1.383 GB, free: 10.45 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004356/0.9597, allocations: 4.089 MB / 1.387 GB, free: 6.348 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001938/0.9617, allocations: 1.319 MB / 1.388 GB, free: 5.004 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.9649, allocations: 1.523 MB / 1.39 GB, free: 3.48 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.9675, allocations: 1.511 MB / 1.391 GB, free: 1.965 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005608/0.968, allocations: 188 kB / 1.391 GB, free: 1.781 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.9708, allocations: 1.1 MB / 1.392 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000775/0.9716, allocations: 0.6739 MB / 1.393 GB, free: 4 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.9727, allocations: 1.023 MB / 1.394 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.9754, allocations: 2.763 MB / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9755, allocations: 0 / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9755, allocations: 0 / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.9755, allocations: 0 / 1.397 GB, free: 12.21 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.003723/0.9792, allocations: 2.27 MB / 1.399 GB, free: 9.879 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9793, allocations: 8.031 kB / 1.399 GB, free: 9.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.9797, allocations: 190.8 kB / 1.399 GB, free: 9.684 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.9813, allocations: 1.185 MB / 1.4 GB, free: 8.457 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.9814, allocations: 115 kB / 1.4 GB, free: 8.344 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.9816, allocations: 148 kB / 1.4 GB, free: 8.199 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/0.9843, allocations: 1.919 MB / 1.402 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.9844, allocations: 7.938 kB / 1.402 GB, free: 6.23 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.9845, allocations: 60 kB / 1.402 GB, free: 6.172 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.9845, allocations: 36 kB / 1.402 GB, free: 6.137 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.9879, allocations: 2.475 MB / 1.405 GB, free: 3.656 MB / 1.123 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.006852/0.9948, allocations: 6.124 MB / 1.411 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003237/0.998, allocations: 2.803 MB / 1.414 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.9999, allocations: 1.425 MB / 1.415 GB, free: 8.922 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/1.001, allocations: 1.734 MB / 1.417 GB, free: 6.816 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.001, allocations: 52.56 kB / 1.417 GB, free: 6.758 MB / 1.139 GB Notification: Performance of pre-optimization done (n=237): time 3.607e-06/1.001, allocations: 0 / 1.417 GB, free: 6.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=237): time 0.005059/1.006, allocations: 3.442 MB / 1.42 GB, free: 3.27 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.007, allocations: 81.34 kB / 1.42 GB, free: 3.176 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/1.007, allocations: 0.7705 MB / 1.421 GB, free: 2.398 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.008, allocations: 65.7 kB / 1.421 GB, free: 2.328 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/1.008, allocations: 494.1 kB / 1.421 GB, free: 1.836 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005396/1.008, allocations: 0.8008 MB / 1.422 GB, free: 1.023 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004244/1.009, allocations: 347.6 kB / 1.423 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/1.009, allocations: 305.1 kB / 1.423 GB, free: 384 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.01, allocations: 0.902 MB / 1.424 GB, free: 15.46 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.012, allocations: 1.123 MB / 1.425 GB, free: 14.28 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/1.015, allocations: 2.223 MB / 1.427 GB, free: 12.01 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.015, allocations: 4 kB / 1.427 GB, free: 12.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003503/1.018, allocations: 2.428 MB / 1.429 GB, free: 9.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.018, allocations: 13.66 kB / 1.429 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/1.018, allocations: 8.453 kB / 1.429 GB, free: 9.551 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/1.018, allocations: 16 kB / 1.429 GB, free: 9.535 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.02, allocations: 435.4 kB / 1.43 GB, free: 9.109 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.02, allocations: 15.94 kB / 1.43 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009259/1.021, allocations: 158.3 kB / 1.43 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.021, allocations: 71.98 kB / 1.43 GB, free: 8.867 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0006351/1.022, allocations: 437.3 kB / 1.43 GB, free: 8.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/1.022, allocations: 146.2 kB / 1.431 GB, free: 8.285 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/1.026, allocations: 2.717 MB / 1.433 GB, free: 5.547 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.026, allocations: 28 kB / 1.433 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.026, allocations: 0 / 1.433 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003074/1.029, allocations: 2.377 MB / 1.436 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005689/1.035, allocations: 4.302 MB / 1.44 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.035, allocations: 0 / 1.44 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/1.036, allocations: 407.5 kB / 1.44 GB, free: 14.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/1.037, allocations: 105.6 kB / 1.44 GB, free: 14.21 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/1.037, allocations: 47.98 kB / 1.44 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/1.038, allocations: 1.128 MB / 1.441 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.038, allocations: 0 / 1.441 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005291/1.043, allocations: 4.061 MB / 1.445 GB, free: 8.898 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/1.044, allocations: 482.6 kB / 1.446 GB, free: 8.406 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/1.044, allocations: 36 kB / 1.446 GB, free: 8.371 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/1.045, allocations: 51.98 kB / 1.446 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/1.045, allocations: 141.8 kB / 1.446 GB, free: 8.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.045, allocations: 67.98 kB / 1.446 GB, free: 8.113 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006214/1.046, allocations: 0.5497 MB / 1.447 GB, free: 7.562 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.71e-07/1.046, allocations: 4 kB / 1.447 GB, free: 7.559 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001322/1.047, allocations: 0.6514 MB / 1.447 GB, free: 6.906 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006609/1.048, allocations: 398.6 kB / 1.448 GB, free: 6.508 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00315/1.051, allocations: 2.325 MB / 1.45 GB, free: 4.188 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.051, allocations: 0 / 1.45 GB, free: 4.188 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.053, allocations: 1.281 MB / 1.451 GB, free: 2.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.055, allocations: 0.5752 MB / 1.452 GB, free: 2.344 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/1.06, allocations: 3.828 MB / 1.456 GB, free: 14.48 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/1.061, allocations: 1.335 MB / 1.457 GB, free: 13.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/1.061, allocations: 179.4 kB / 1.457 GB, free: 12.93 MB / 1.186 GB Notification: Performance of SimCode: time 4.7e-07/1.061, allocations: 4 kB / 1.457 GB, free: 12.93 MB / 1.186 GB Notification: Performance of Templates: time 0.0378/1.099, allocations: 31.68 MB / 1.488 GB, free: 13.29 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time