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.001523/0.001523, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 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.001974/0.001974, allocations: 221.9 kB / 23.01 MB, free: 5.082 MB / 14.72 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 1.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.341/3.341, allocations: 0.49 GB / 0.7958 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.09 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4988, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.225/0.7238, allocations: 171 MB / 1.494 GB, free: 5.852 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.7395, allocations: 8.577 MB / 1.502 GB, free: 13.25 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.742, allocations: 55.62 kB / 1.503 GB, free: 13.2 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.7441, allocations: 0.5706 MB / 1.503 GB, free: 12.62 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.7501, allocations: 1.613 MB / 1.505 GB, free: 11 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003633/0.7537, allocations: 1.039 MB / 1.506 GB, free: 9.965 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006922/0.7606, allocations: 4.184 MB / 1.51 GB, free: 5.766 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.7628, allocations: 1.066 MB / 1.511 GB, free: 4.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005009/0.7678, allocations: 1.633 MB / 1.512 GB, free: 3.047 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.7713, allocations: 1.561 MB / 1.514 GB, free: 1.48 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004413/0.7718, allocations: 188 kB / 1.514 GB, free: 1.297 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.7752, allocations: 1.17 MB / 1.515 GB, free: 128 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.776, allocations: 0.6428 MB / 1.516 GB, free: 15.48 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/0.7777, allocations: 1.011 MB / 1.517 GB, free: 14.46 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.7826, allocations: 2.806 MB / 1.52 GB, free: 11.65 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7827, allocations: 4 kB / 1.52 GB, free: 11.64 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7827, allocations: 0 / 1.52 GB, free: 11.64 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.644e-05/0.7827, allocations: 3.938 kB / 1.52 GB, free: 11.64 MB / 1.217 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.005192/0.7879, allocations: 2.162 MB / 1.522 GB, free: 9.438 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.7879, allocations: 8.031 kB / 1.522 GB, free: 9.43 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006525/0.7886, allocations: 211.7 kB / 1.522 GB, free: 9.223 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/0.791, allocations: 1.059 MB / 1.523 GB, free: 8.133 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7911, allocations: 115.1 kB / 1.523 GB, free: 8.02 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.7913, allocations: 148 kB / 1.523 GB, free: 7.875 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/0.795, allocations: 2.09 MB / 1.525 GB, free: 5.746 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.158e-05/0.7951, allocations: 3.953 kB / 1.525 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.7952, allocations: 64 kB / 1.525 GB, free: 5.68 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.7953, allocations: 91.28 kB / 1.525 GB, free: 5.59 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004599/0.7999, allocations: 2.753 MB / 1.528 GB, free: 2.832 MB / 1.217 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.01087/0.8108, allocations: 6.466 MB / 1.534 GB, free: 11.98 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003928/0.8147, allocations: 2.579 MB / 1.537 GB, free: 9.395 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002184/0.8169, allocations: 1.257 MB / 1.538 GB, free: 8.133 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.818, allocations: 237.8 kB / 1.538 GB, free: 7.902 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/0.818, allocations: 60.5 kB / 1.538 GB, free: 7.832 MB / 1.232 GB Notification: Performance of pre-optimization done (n=237): time 5.22e-06/0.818, allocations: 0 / 1.538 GB, free: 7.832 MB / 1.232 GB Notification: Performance of matching and sorting (n=237): time 0.006064/0.8241, allocations: 3.288 MB / 1.542 GB, free: 4.535 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.8242, allocations: 77.41 kB / 1.542 GB, free: 4.449 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.8255, allocations: 0.821 MB / 1.543 GB, free: 3.617 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.8256, allocations: 61.7 kB / 1.543 GB, free: 3.551 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/0.8261, allocations: 0.588 MB / 1.543 GB, free: 2.953 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008668/0.827, allocations: 0.8288 MB / 1.544 GB, free: 2.117 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000626/0.8276, allocations: 408.7 kB / 1.544 GB, free: 1.711 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8278, allocations: 353.9 kB / 1.545 GB, free: 1.359 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.8295, allocations: 0.9963 MB / 1.546 GB, free: 368 kB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.8315, allocations: 1.242 MB / 1.547 GB, free: 15.06 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003862/0.8354, allocations: 2.388 MB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.8354, allocations: 3.938 kB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004818/0.8402, allocations: 2.709 MB / 1.552 GB, free: 9.836 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.8402, allocations: 13.19 kB / 1.552 GB, free: 9.824 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.8402, allocations: 0 / 1.552 GB, free: 9.824 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/0.8403, allocations: 16 kB / 1.552 GB, free: 9.809 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.8423, allocations: 0.4915 MB / 1.552 GB, free: 9.316 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-05/0.8423, allocations: 16 kB / 1.552 GB, free: 9.301 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.8437, allocations: 206.6 kB / 1.553 GB, free: 9.098 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.8439, allocations: 83.98 kB / 1.553 GB, free: 9.016 MB / 1.248 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.0009637/0.8448, allocations: 457.7 kB / 1.553 GB, free: 8.559 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.8451, allocations: 151 kB / 1.553 GB, free: 8.41 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00496/0.8501, allocations: 2.717 MB / 1.556 GB, free: 5.676 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.8501, allocations: 24 kB / 1.556 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8501, allocations: 0 / 1.556 GB, free: 5.652 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003737/0.8539, allocations: 2.373 MB / 1.558 GB, free: 3.223 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006887/0.8608, allocations: 4.282 MB / 1.562 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8608, allocations: 0 / 1.562 GB, free: 14.88 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.8623, allocations: 411.5 kB / 1.563 GB, free: 14.47 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005655/0.8629, allocations: 97.61 kB / 1.563 GB, free: 14.37 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.863, allocations: 51.98 kB / 1.563 GB, free: 14.32 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008743/0.8639, allocations: 1.124 MB / 1.564 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8639, allocations: 0 / 1.564 GB, free: 13.14 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/0.8703, allocations: 4.07 MB / 1.568 GB, free: 9.051 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.8715, allocations: 406.3 kB / 1.568 GB, free: 8.652 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.8717, allocations: 44 kB / 1.568 GB, free: 8.609 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.8725, allocations: 51.98 kB / 1.568 GB, free: 8.559 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.8728, allocations: 145.7 kB / 1.569 GB, free: 8.414 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.8729, allocations: 67.98 kB / 1.569 GB, free: 8.348 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008081/0.8738, allocations: 0.5498 MB / 1.569 GB, free: 7.797 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8738, allocations: 0 / 1.569 GB, free: 7.797 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00173/0.8755, allocations: 0.6904 MB / 1.57 GB, free: 7.105 MB / 1.264 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.0008808/0.8764, allocations: 386.3 kB / 1.57 GB, free: 6.719 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004313/0.8807, allocations: 2.318 MB / 1.573 GB, free: 4.402 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8807, allocations: 0 / 1.573 GB, free: 4.402 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.8828, allocations: 1.168 MB / 1.574 GB, free: 3.234 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.8853, allocations: 0.5707 MB / 1.574 GB, free: 2.68 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.8918, allocations: 3.887 MB / 1.578 GB, free: 14.74 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.893, allocations: 1.335 MB / 1.579 GB, free: 13.38 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/0.8937, allocations: 191.4 kB / 1.58 GB, free: 13.19 MB / 1.279 GB Notification: Performance of SimCode: time 1.162e-06/0.8937, allocations: 0 / 1.58 GB, free: 13.19 MB / 1.279 GB Notification: Performance of Templates: time 0.9748/1.868, allocations: 32.63 MB / 1.611 GB, free: 274.7 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins1/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: 17.534592073003296]