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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108 kB / 17.08 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 197.1 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.105/3.105, allocations: 489.3 MB / 0.7687 GB, free: 3.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 67.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2671/1.572, allocations: 167 MB / 1.426 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01792/1.59, allocations: 8.503 MB / 1.434 GB, free: 4.848 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003032/1.593, allocations: 37.09 kB / 1.434 GB, free: 4.836 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/1.596, allocations: 0.5688 MB / 1.435 GB, free: 4.344 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006803/1.603, allocations: 1.542 MB / 1.436 GB, free: 3.109 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004082/1.607, allocations: 0.9978 MB / 1.437 GB, free: 2.328 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.007847/1.615, allocations: 4.106 MB / 1.441 GB, free: 15.92 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/1.618, allocations: 1.318 MB / 1.442 GB, free: 15.06 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006193/1.624, allocations: 1.568 MB / 1.444 GB, free: 14.17 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/1.628, allocations: 1.498 MB / 1.445 GB, free: 12.98 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0008746/1.629, allocations: 188 kB / 1.445 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004242/1.634, allocations: 1.104 MB / 1.447 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/1.635, allocations: 0.6234 MB / 1.447 GB, free: 11.07 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.638, allocations: 1.011 MB / 1.448 GB, free: 10.05 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.006893/1.645, allocations: 2.747 MB / 1.451 GB, free: 7.305 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.645, allocations: 4 kB / 1.451 GB, free: 7.301 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.094e-06/1.645, allocations: 0 / 1.451 GB, free: 7.301 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001102/1.645, allocations: 0 / 1.451 GB, free: 7.301 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.007065/1.652, allocations: 2.237 MB / 1.453 GB, free: 5.004 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/1.652, allocations: 12.03 kB / 1.453 GB, free: 4.992 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009115/1.653, allocations: 203.7 kB / 1.453 GB, free: 4.793 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/1.656, allocations: 1.118 MB / 1.454 GB, free: 3.633 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/1.656, allocations: 111.1 kB / 1.454 GB, free: 3.523 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003903/1.656, allocations: 164 kB / 1.455 GB, free: 3.363 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/1.661, allocations: 2.078 MB / 1.457 GB, free: 1.246 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/1.661, allocations: 0 / 1.457 GB, free: 1.246 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/1.661, allocations: 64 kB / 1.457 GB, free: 1.184 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/1.661, allocations: 95.28 kB / 1.457 GB, free: 1.09 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005433/1.667, allocations: 2.745 MB / 1.459 GB, free: 14.34 MB / 1.154 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.01148/1.678, allocations: 6.483 MB / 1.466 GB, free: 7.461 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/1.683, allocations: 2.802 MB / 1.469 GB, free: 4.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/1.685, allocations: 1.425 MB / 1.47 GB, free: 3.234 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002075/1.688, allocations: 1.738 MB / 1.472 GB, free: 1.125 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/1.688, allocations: 64.5 kB / 1.472 GB, free: 1.055 MB / 1.154 GB Notification: Performance of pre-optimization done (n=237): time 4.198e-06/1.688, allocations: 4 kB / 1.472 GB, free: 1.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=237): time 0.006725/1.694, allocations: 3.431 MB / 1.475 GB, free: 13.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/1.694, allocations: 81.41 kB / 1.475 GB, free: 13.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/1.696, allocations: 0.8093 MB / 1.476 GB, free: 12.66 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.696, allocations: 65.7 kB / 1.476 GB, free: 12.59 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/1.697, allocations: 0.5802 MB / 1.477 GB, free: 12 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/1.698, allocations: 0.8365 MB / 1.477 GB, free: 11.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007696/1.698, allocations: 416.7 kB / 1.478 GB, free: 10.75 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.699, allocations: 345.9 kB / 1.478 GB, free: 10.4 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/1.7, allocations: 1.004 MB / 1.479 GB, free: 9.395 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/1.703, allocations: 1.238 MB / 1.48 GB, free: 8.098 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004114/1.707, allocations: 2.384 MB / 1.483 GB, free: 5.637 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/1.707, allocations: 0 / 1.483 GB, free: 5.637 MB / 1.17 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.005095/1.712, allocations: 2.701 MB / 1.485 GB, free: 2.891 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.712, allocations: 11.94 kB / 1.485 GB, free: 2.879 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.712, allocations: 3.938 kB / 1.485 GB, free: 2.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-05/1.712, allocations: 19.94 kB / 1.485 GB, free: 2.855 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/1.714, allocations: 499.3 kB / 1.486 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-05/1.714, allocations: 16.28 kB / 1.486 GB, free: 2.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.716, allocations: 202.4 kB / 1.486 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.716, allocations: 83.98 kB / 1.486 GB, free: 2.07 MB / 1.17 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 (303): * Single equations (assignments): 303 * 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.0009653/1.717, allocations: 453.2 kB / 1.486 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000478/1.717, allocations: 151 kB / 1.487 GB, free: 1.469 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/1.722, allocations: 2.721 MB / 1.489 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/1.723, allocations: 27.98 kB / 1.489 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.723, allocations: 0 / 1.489 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003701/1.726, allocations: 2.385 MB / 1.492 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/1.733, allocations: 4.302 MB / 1.496 GB, free: 7.887 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.733, allocations: 4.062 kB / 1.496 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.735, allocations: 407.4 kB / 1.496 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/1.736, allocations: 93.62 kB / 1.496 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/1.736, allocations: 55.98 kB / 1.496 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008351/1.737, allocations: 1.12 MB / 1.497 GB, free: 6.16 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.737, allocations: 4 kB / 1.497 GB, free: 6.156 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/1.743, allocations: 4.078 MB / 1.501 GB, free: 2.051 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.744, allocations: 487.3 kB / 1.502 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/1.745, allocations: 40 kB / 1.502 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008513/1.746, allocations: 55.97 kB / 1.502 GB, free: 1.461 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002828/1.746, allocations: 133.8 kB / 1.502 GB, free: 1.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/1.746, allocations: 71.97 kB / 1.502 GB, free: 1.262 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008335/1.747, allocations: 0.5459 MB / 1.503 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/1.747, allocations: 0 / 1.503 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001797/1.749, allocations: 0.6865 MB / 1.503 GB, free: 28 kB / 1.186 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.000948/1.75, allocations: 396.7 kB / 1.504 GB, free: 15.63 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004345/1.754, allocations: 2.483 MB / 1.506 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.754, allocations: 0 / 1.506 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/1.756, allocations: 1.28 MB / 1.507 GB, free: 11.87 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/1.759, allocations: 0.5724 MB / 1.508 GB, free: 11.3 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/1.765, allocations: 3.884 MB / 1.512 GB, free: 7.379 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/1.766, allocations: 1.339 MB / 1.513 GB, free: 6.008 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009355/1.767, allocations: 195.4 kB / 1.513 GB, free: 5.816 MB / 1.201 GB Notification: Performance of SimCode: time 1.282e-06/1.767, allocations: 0 / 1.513 GB, free: 5.816 MB / 1.201 GB Notification: Performance of Templates: time 0.06043/1.828, allocations: 32.48 MB / 1.545 GB, free: 5.383 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 17.32208467205055]