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.001821/0.001821, allocations: 105.6 kB / 15.99 MB, free: 6.355 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.00209/0.00209, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.876/1.876, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.799/3.799, allocations: 469.4 MB / 0.7423 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 59.66 kB / 0.9083 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4135, allocations: 159.1 MB / 1.064 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 1.075/1.488, allocations: 164.7 MB / 1.225 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01917/1.507, allocations: 8.449 MB / 1.233 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/1.511, allocations: 32.78 kB / 1.233 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/1.513, allocations: 0.4961 MB / 1.233 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01442/1.528, allocations: 1.447 MB / 1.235 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005001/1.533, allocations: 0.9036 MB / 1.236 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01461/1.547, allocations: 4.122 MB / 1.24 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/1.551, allocations: 1.299 MB / 1.241 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/1.557, allocations: 1.502 MB / 1.242 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003952/1.561, allocations: 1.577 MB / 1.244 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/1.562, allocations: 188 kB / 1.244 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009624/1.572, allocations: 1.111 MB / 1.245 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/1.574, allocations: 0.674 MB / 1.246 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/1.577, allocations: 1.034 MB / 1.247 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/1.588, allocations: 2.081 MB / 1.249 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.588, allocations: 0 / 1.249 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.671e-06/1.588, allocations: 0 / 1.249 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.085e-05/1.588, allocations: 3.938 kB / 1.249 GB, free: 12.03 MB / 0.9669 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.006438/1.594, allocations: 2.259 MB / 1.251 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/1.594, allocations: 8.625 kB / 1.251 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007634/1.595, allocations: 202.7 kB / 1.251 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/1.598, allocations: 1.177 MB / 1.252 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.598, allocations: 119 kB / 1.253 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003072/1.598, allocations: 148 kB / 1.253 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/1.603, allocations: 1.919 MB / 1.255 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.346e-05/1.603, allocations: 3.938 kB / 1.255 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/1.603, allocations: 64 kB / 1.255 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/1.603, allocations: 36 kB / 1.255 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005707/1.609, allocations: 2.475 MB / 1.257 GB, free: 3.484 MB / 0.9669 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.01321/1.622, allocations: 6.092 MB / 1.263 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00543/1.628, allocations: 2.802 MB / 1.266 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/1.631, allocations: 1.417 MB / 1.267 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/1.634, allocations: 1.734 MB / 1.269 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.661e-05/1.634, allocations: 61.38 kB / 1.269 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 6.122e-06/1.634, allocations: 0 / 1.269 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.008634/1.642, allocations: 3.434 MB / 1.272 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/1.642, allocations: 77.41 kB / 1.272 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/1.644, allocations: 0.7627 MB / 1.273 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.645, allocations: 61.7 kB / 1.273 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/1.645, allocations: 494.1 kB / 1.274 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.646, allocations: 0.7854 MB / 1.274 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008458/1.647, allocations: 359.5 kB / 1.275 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.647, allocations: 301.1 kB / 1.275 GB, free: 276 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/1.65, allocations: 0.898 MB / 1.276 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/1.652, allocations: 1.125 MB / 1.277 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00516/1.658, allocations: 2.223 MB / 1.279 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/1.658, allocations: 0 / 1.279 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006493/1.664, allocations: 2.436 MB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/1.664, allocations: 4 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.664, allocations: 4.469 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-05/1.664, allocations: 23.88 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/1.667, allocations: 435.4 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.299e-05/1.667, allocations: 15.94 kB / 1.282 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.669, allocations: 210.3 kB / 1.282 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.669, allocations: 68 kB / 1.282 GB, free: 8.723 MB / 0.9981 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.001297/1.67, allocations: 449.1 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009537/1.671, allocations: 146.3 kB / 1.283 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007539/1.679, allocations: 2.72 MB / 1.285 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.994e-05/1.679, allocations: 24 kB / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.679, allocations: 0 / 1.286 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005367/1.684, allocations: 2.381 MB / 1.288 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.695, allocations: 4.29 MB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.695, allocations: 3.938 kB / 1.292 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.697, allocations: 407.6 kB / 1.292 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000782/1.698, allocations: 101.6 kB / 1.293 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/1.699, allocations: 51.98 kB / 1.293 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/1.7, allocations: 1.124 MB / 1.294 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.7, allocations: 0 / 1.294 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.71, allocations: 4.057 MB / 1.298 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/1.712, allocations: 474.6 kB / 1.298 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007077/1.713, allocations: 47.98 kB / 1.298 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.715, allocations: 103.8 kB / 1.298 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004731/1.716, allocations: 137.9 kB / 1.298 GB, free: 7.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/1.716, allocations: 71.97 kB / 1.298 GB, free: 7.914 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001831/1.718, allocations: 0.5381 MB / 1.299 GB, free: 7.375 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.152e-06/1.718, allocations: 0 / 1.299 GB, free: 7.375 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003854/1.722, allocations: 0.6436 MB / 1.3 GB, free: 6.73 MB / 1.014 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.001625/1.724, allocations: 386.2 kB / 1.3 GB, free: 6.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.739, allocations: 4.86 MB / 1.305 GB, free: 1.492 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/1.739, allocations: 4.25 kB / 1.305 GB, free: 1.488 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.743, allocations: 1.28 MB / 1.306 GB, free: 216 kB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005301/1.748, allocations: 0.5752 MB / 1.307 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/1.76, allocations: 4.527 MB / 1.311 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.762, allocations: 1.335 MB / 1.312 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.763, allocations: 195.4 kB / 1.312 GB, free: 9.527 MB / 1.029 GB Notification: Performance of SimCode: time 1.423e-06/1.763, allocations: 0 / 1.312 GB, free: 9.527 MB / 1.029 GB Notification: Performance of Templates: time 0.07081/1.834, allocations: 31.29 MB / 1.343 GB, free: 10.29 MB / 1.061 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