Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.001916/0.001916, allocations: 110 kB / 18.93 MB, free: 2.945 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.002104/0.002104, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.491/1.491, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 496 MB / 0.7835 GB, free: 33.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 64.84 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.415, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2611/0.6761, allocations: 219.9 MB / 1.522 GB, free: 5.059 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03166/0.7078, allocations: 20.57 MB / 1.542 GB, free: 432 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.711, allocations: 79.44 kB / 1.542 GB, free: 352 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00421/0.7153, allocations: 1.305 MB / 1.543 GB, free: 15.03 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.728, allocations: 4.307 MB / 1.548 GB, free: 10.71 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005208/0.7332, allocations: 1.6 MB / 1.549 GB, free: 9.113 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.7443, allocations: 7.107 MB / 1.556 GB, free: 1.984 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.748, allocations: 1.814 MB / 1.558 GB, free: 128 kB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/0.7539, allocations: 2.559 MB / 1.56 GB, free: 13.56 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.7599, allocations: 2.568 MB / 1.563 GB, free: 10.99 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.761, allocations: 344 kB / 1.563 GB, free: 10.66 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009385/0.7704, allocations: 3.714 MB / 1.567 GB, free: 6.934 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.002438/0.7728, allocations: 1.434 MB / 1.568 GB, free: 5.496 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003472/0.7763, allocations: 1.832 MB / 1.57 GB, free: 3.656 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01202/0.7883, allocations: 5.762 MB / 1.576 GB, free: 13.88 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.7883, allocations: 4 kB / 1.576 GB, free: 13.87 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.255e-06/0.7883, allocations: 0 / 1.576 GB, free: 13.87 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001267/0.7884, allocations: 0 / 1.576 GB, free: 13.87 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.0106/0.7991, allocations: 3.841 MB / 1.579 GB, free: 9.977 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7991, allocations: 12.03 kB / 1.579 GB, free: 9.965 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.804, allocations: 0.8371 MB / 1.58 GB, free: 9.125 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.8083, allocations: 1.781 MB / 1.582 GB, free: 7.293 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.8085, allocations: 201.4 kB / 1.582 GB, free: 7.094 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005287/0.809, allocations: 271.9 kB / 1.582 GB, free: 6.828 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006642/0.8156, allocations: 3.508 MB / 1.586 GB, free: 3.281 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/0.8157, allocations: 0 / 1.586 GB, free: 3.281 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.816, allocations: 112 kB / 1.586 GB, free: 3.172 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.8162, allocations: 189.8 kB / 1.586 GB, free: 2.984 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008848/0.825, allocations: 5.024 MB / 1.591 GB, free: 13.95 MB / 1.295 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.01993/0.845, allocations: 11.46 MB / 1.602 GB, free: 1.77 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7607/1.606, allocations: 4.513 MB / 1.607 GB, free: 292.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.61, allocations: 2.285 MB / 1.609 GB, free: 291.6 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000781/1.61, allocations: 198.4 kB / 1.609 GB, free: 291.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/1.611, allocations: 79.8 kB / 1.609 GB, free: 291.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 5.28e-06/1.611, allocations: 0 / 1.609 GB, free: 291.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01207/1.623, allocations: 5.8 MB / 1.615 GB, free: 289.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.623, allocations: 97.28 kB / 1.615 GB, free: 289.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/1.625, allocations: 1.275 MB / 1.616 GB, free: 289 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0005781/1.626, allocations: 97.55 kB / 1.616 GB, free: 289 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/1.626, allocations: 0.9599 MB / 1.617 GB, free: 288.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001404/1.628, allocations: 1.411 MB / 1.619 GB, free: 287.4 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.629, allocations: 0.6394 MB / 1.619 GB, free: 287.1 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/1.629, allocations: 303.1 kB / 1.62 GB, free: 286.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002987/1.632, allocations: 1.749 MB / 1.621 GB, free: 286.2 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003512/1.635, allocations: 2.087 MB / 1.623 GB, free: 285.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007177/1.642, allocations: 4.077 MB / 1.627 GB, free: 283.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/1.642, allocations: 1.156 kB / 1.627 GB, free: 283.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.008378/1.651, allocations: 4.596 MB / 1.632 GB, free: 281.9 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.651, allocations: 11.59 kB / 1.632 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/1.651, allocations: 4.844 kB / 1.632 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/1.651, allocations: 19.78 kB / 1.632 GB, free: 281.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/1.654, allocations: 0.7826 MB / 1.633 GB, free: 281.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.883e-05/1.654, allocations: 16.77 kB / 1.633 GB, free: 281.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.657, allocations: 309.1 kB / 1.633 GB, free: 281.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.657, allocations: 124.9 kB / 1.633 GB, free: 281.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.001373/1.659, allocations: 0.751 MB / 1.634 GB, free: 281.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/1.659, allocations: 253.2 kB / 1.634 GB, free: 281 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/1.666, allocations: 4.628 MB / 1.638 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.666, allocations: 40.72 kB / 1.638 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.666, allocations: 8.719 kB / 1.638 GB, free: 279.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005071/1.671, allocations: 3.959 MB / 1.642 GB, free: 277.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.682, allocations: 8.25 MB / 1.65 GB, free: 270.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.682, allocations: 0.5156 kB / 1.65 GB, free: 270.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/1.684, allocations: 0.6593 MB / 1.651 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/1.685, allocations: 135 kB / 1.651 GB, free: 269.8 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.685, allocations: 87.16 kB / 1.651 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/1.688, allocations: 4.724 MB / 1.656 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.688, allocations: 7.031 kB / 1.656 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008243/1.696, allocations: 6.832 MB / 1.663 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.698, allocations: 0.7042 MB / 1.663 GB, free: 257.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/1.698, allocations: 71.98 kB / 1.663 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/1.7, allocations: 79.31 kB / 1.663 GB, free: 256.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/1.7, allocations: 245.7 kB / 1.664 GB, free: 256.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/1.7, allocations: 108 kB / 1.664 GB, free: 256.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009246/1.701, allocations: 0.8606 MB / 1.665 GB, free: 255.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.701, allocations: 0 / 1.665 GB, free: 255.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002122/1.703, allocations: 1.131 MB / 1.666 GB, free: 254.6 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005893/1.704, allocations: 347.7 kB / 1.666 GB, free: 254.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005392/1.709, allocations: 4.02 MB / 1.67 GB, free: 250.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.709, allocations: 11.84 kB / 1.67 GB, free: 250.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/1.712, allocations: 2.363 MB / 1.672 GB, free: 247.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/1.717, allocations: 1.069 MB / 1.673 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008592/1.725, allocations: 6.688 MB / 1.68 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/1.726, allocations: 1.935 MB / 1.682 GB, free: 238.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003677/1.73, allocations: 1.31 MB / 1.683 GB, free: 237 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008358/1.731, allocations: 247.4 kB / 1.683 GB, free: 236.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.343e-06/1.731, allocations: 0 / 1.683 GB, free: 236.8 MB / 1.295 GB Notification: Performance of Templates: time 0.06982/1.801, allocations: 51.49 MB / 1.734 GB, free: 185.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.46605163346976]