Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9197/0.9197, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.797/1.797, allocations: 377.9 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.316e-05/4.574e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.787/0.7871, allocations: 147.8 MB / 1.127 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009925/0.797, allocations: 7.918 MB / 1.134 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.798, allocations: 50 kB / 1.134 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.7994, allocations: 0.5569 MB / 1.135 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003137/0.8025, allocations: 1.658 MB / 1.136 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.8048, allocations: 1.024 MB / 1.137 GB, free: 5.863 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003799/0.8086, allocations: 4.224 MB / 1.142 GB, free: 3.859 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.8098, allocations: 1.068 MB / 1.143 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.8132, allocations: 2.136 MB / 1.145 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.815, allocations: 1.403 MB / 1.146 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002741/0.8152, allocations: 187.5 kB / 1.146 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.8173, allocations: 0.9871 MB / 1.147 GB, free: 1.723 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00057/0.8179, allocations: 0.6605 MB / 1.148 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.8187, allocations: 0.7437 MB / 1.149 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.8222, allocations: 2.891 MB / 1.151 GB, free: 32 kB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8222, allocations: 1.062 kB / 1.151 GB, free: 32 kB / 0.9948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8222, allocations: 0 / 1.151 GB, free: 32 kB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.8222, allocations: 4 kB / 1.151 GB, free: 28 kB / 0.9948 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.00329/0.8255, allocations: 2.143 MB / 1.154 GB, free: 14.81 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8255, allocations: 8.438 kB / 1.154 GB, free: 14.81 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.8259, allocations: 211.3 kB / 1.154 GB, free: 14.71 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.8277, allocations: 1.058 MB / 1.155 GB, free: 14.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.911e-05/0.8278, allocations: 114.6 kB / 1.155 GB, free: 14.06 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.828, allocations: 155.4 kB / 1.155 GB, free: 14.01 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.831, allocations: 2.238 MB / 1.157 GB, free: 13.02 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.8311, allocations: 5.266 kB / 1.157 GB, free: 13.02 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.8312, allocations: 62.06 kB / 1.157 GB, free: 12.97 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.8313, allocations: 96.39 kB / 1.157 GB, free: 12.96 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003712/0.835, allocations: 2.691 MB / 1.16 GB, free: 12.21 MB / 1.01 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.006194/0.8412, allocations: 4.573 MB / 1.164 GB, free: 9.953 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.8441, allocations: 2.577 MB / 1.167 GB, free: 8.777 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.8457, allocations: 1.261 MB / 1.168 GB, free: 8.352 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006668/0.8463, allocations: 233.8 kB / 1.168 GB, free: 8.324 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.8464, allocations: 61.72 kB / 1.169 GB, free: 8.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=237): time 4.308e-06/0.8464, allocations: 0 / 1.169 GB, free: 8.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=237): time 0.004418/0.8508, allocations: 3.287 MB / 1.172 GB, free: 7.102 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.8509, allocations: 76.38 kB / 1.172 GB, free: 7.035 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.8517, allocations: 0.8374 MB / 1.173 GB, free: 6.664 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/0.8518, allocations: 62.77 kB / 1.173 GB, free: 6.605 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.8521, allocations: 0.5756 MB / 1.173 GB, free: 6.137 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.8526, allocations: 0.8264 MB / 1.174 GB, free: 5.461 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004811/0.8531, allocations: 416.7 kB / 1.174 GB, free: 5.266 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8532, allocations: 350.9 kB / 1.175 GB, free: 4.941 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.8545, allocations: 0.9982 MB / 1.176 GB, free: 4.602 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.8561, allocations: 1.244 MB / 1.177 GB, free: 4.066 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.8589, allocations: 2.381 MB / 1.179 GB, free: 2.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.8589, allocations: 1.406 kB / 1.179 GB, free: 2.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003168/0.8621, allocations: 2.706 MB / 1.182 GB, free: 1.922 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.8621, allocations: 7.531 kB / 1.182 GB, free: 1.922 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.8621, allocations: 5.094 kB / 1.182 GB, free: 1.922 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.8622, allocations: 17.34 kB / 1.182 GB, free: 1.918 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.8632, allocations: 497 kB / 1.182 GB, free: 1.871 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.8632, allocations: 23.52 kB / 1.182 GB, free: 1.863 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/0.8641, allocations: 200.3 kB / 1.183 GB, free: 1.715 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.8642, allocations: 82.92 kB / 1.183 GB, free: 1.695 MB / 1.01 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.0005704/0.8648, allocations: 455.5 kB / 1.183 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.865, allocations: 151.2 kB / 1.183 GB, free: 1.324 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003011/0.868, allocations: 2.719 MB / 1.186 GB, free: 252 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.868, allocations: 24.94 kB / 1.186 GB, free: 248 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.868, allocations: 3.094 kB / 1.186 GB, free: 248 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002388/0.8704, allocations: 2.38 MB / 1.188 GB, free: 15.22 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.8745, allocations: 3.814 MB / 1.192 GB, free: 13.39 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8745, allocations: 6.812 kB / 1.192 GB, free: 13.38 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.8754, allocations: 410.3 kB / 1.192 GB, free: 13.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.8757, allocations: 100.4 kB / 1.193 GB, free: 13.24 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/0.8758, allocations: 51.73 kB / 1.193 GB, free: 13.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006046/0.8764, allocations: 1.122 MB / 1.194 GB, free: 12.1 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8764, allocations: 0 / 1.194 GB, free: 12.1 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.8804, allocations: 4.061 MB / 1.198 GB, free: 9.984 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/0.8809, allocations: 410.8 kB / 1.198 GB, free: 9.711 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.881, allocations: 46.84 kB / 1.198 GB, free: 9.676 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.8815, allocations: 51.94 kB / 1.198 GB, free: 9.641 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.8817, allocations: 143.1 kB / 1.198 GB, free: 9.555 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.983e-05/0.8817, allocations: 72 kB / 1.198 GB, free: 9.531 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.000477/0.8822, allocations: 0.5534 MB / 1.199 GB, free: 9.211 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.8822, allocations: 0 / 1.199 GB, free: 9.211 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001472/0.8837, allocations: 0.6986 MB / 1.2 GB, free: 9.047 MB / 1.026 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.0006152/0.8843, allocations: 395.4 kB / 1.2 GB, free: 8.801 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002447/0.8868, allocations: 2.322 MB / 1.202 GB, free: 7.789 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8868, allocations: 0 / 1.202 GB, free: 7.789 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.888, allocations: 1.161 MB / 1.203 GB, free: 6.965 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.8894, allocations: 0.5729 MB / 1.204 GB, free: 6.418 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.8933, allocations: 3.685 MB / 1.208 GB, free: 2.691 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.8938, allocations: 0.7431 MB / 1.208 GB, free: 1.91 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.8943, allocations: 188.5 kB / 1.208 GB, free: 1.723 MB / 1.026 GB Notification: Performance of SimCode: time 1.363e-06/0.8943, allocations: 0 / 1.208 GB, free: 1.723 MB / 1.026 GB Notification: Performance of Templates: time 0.02595/0.9202, allocations: 33.46 MB / 1.241 GB, free: 340 kB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.18610799126327]