Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.001765/0.001765, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001968/0.001968, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.632/1.632, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.371/3.371, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 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.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [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.00215/0.00215, allocations: 69.08 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4928, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2759/0.7687, allocations: 180.9 MB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.782, allocations: 5.997 MB / 1.509 GB, free: 6.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.7842, allocations: 51.62 kB / 1.509 GB, free: 6.27 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.7868, allocations: 0.6954 MB / 1.509 GB, free: 5.57 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.009025/0.7958, allocations: 2.818 MB / 1.512 GB, free: 2.742 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.7989, allocations: 0.7209 MB / 1.513 GB, free: 2.027 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007828/0.8067, allocations: 3.321 MB / 1.516 GB, free: 14.69 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.8089, allocations: 0.8052 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.8137, allocations: 1.44 MB / 1.518 GB, free: 12.41 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.8178, allocations: 1.106 MB / 1.519 GB, free: 11.31 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.8181, allocations: 132 kB / 1.52 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005729/0.8238, allocations: 1.913 MB / 1.521 GB, free: 9.266 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008175/0.8247, allocations: 0.5258 MB / 1.522 GB, free: 8.738 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.8259, allocations: 0.6226 MB / 1.523 GB, free: 8.113 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.832, allocations: 2.722 MB / 1.525 GB, free: 5.383 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.832, allocations: 0 / 1.525 GB, free: 5.383 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.286e-06/0.832, allocations: 0 / 1.525 GB, free: 5.383 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.8321, allocations: 0 / 1.525 GB, free: 5.383 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004647/0.8367, allocations: 1.726 MB / 1.527 GB, free: 3.617 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.8368, allocations: 12.03 kB / 1.527 GB, free: 3.605 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.839, allocations: 358.9 kB / 1.527 GB, free: 3.254 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.8409, allocations: 0.8103 MB / 1.528 GB, free: 2.41 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-05/0.841, allocations: 86 kB / 1.528 GB, free: 2.324 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.8411, allocations: 99.98 kB / 1.528 GB, free: 2.227 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.8435, allocations: 1.392 MB / 1.53 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.8435, allocations: 3.938 kB / 1.53 GB, free: 0.75 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8436, allocations: 40 kB / 1.53 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.705e-05/0.8437, allocations: 66.06 kB / 1.53 GB, free: 0.6445 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.8457, allocations: 1.238 MB / 1.531 GB, free: 15.39 MB / 1.232 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.006207/0.8519, allocations: 2.973 MB / 1.534 GB, free: 12.38 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.8534, allocations: 0.826 MB / 1.535 GB, free: 11.54 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.8541, allocations: 485.2 kB / 1.535 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.8542, allocations: 20.64 kB / 1.535 GB, free: 11.05 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/0.8551, allocations: 0.6736 MB / 1.536 GB, free: 10.31 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 6.301e-06/0.8551, allocations: 3.984 kB / 1.536 GB, free: 10.3 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002157/0.8573, allocations: 1.161 MB / 1.537 GB, free: 9.137 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.8574, allocations: 56.06 kB / 1.537 GB, free: 9.07 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.8581, allocations: 0.5108 MB / 1.537 GB, free: 8.551 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/0.8581, allocations: 37.7 kB / 1.537 GB, free: 8.508 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.8585, allocations: 480.5 kB / 1.538 GB, free: 8.031 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003139/0.8589, allocations: 285.7 kB / 1.538 GB, free: 7.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.8591, allocations: 126.6 kB / 1.538 GB, free: 7.621 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.8593, allocations: 382.7 kB / 1.539 GB, free: 7.238 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.8598, allocations: 329.8 kB / 1.539 GB, free: 6.918 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.8604, allocations: 452.7 kB / 1.539 GB, free: 6.441 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.8616, allocations: 0.8272 MB / 1.54 GB, free: 5.574 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.8617, allocations: 0 / 1.54 GB, free: 5.574 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001483/0.8631, allocations: 0.9301 MB / 1.541 GB, free: 4.637 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.8632, allocations: 4 kB / 1.541 GB, free: 4.633 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.8632, allocations: 4 kB / 1.541 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/0.8632, allocations: 11.94 kB / 1.541 GB, free: 4.617 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.8639, allocations: 155.8 kB / 1.541 GB, free: 4.465 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.738e-05/0.8639, allocations: 12.33 kB / 1.541 GB, free: 4.453 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008164/0.8647, allocations: 51.62 kB / 1.541 GB, free: 4.402 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/0.8648, allocations: 28 kB / 1.541 GB, free: 4.375 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0006866/0.8655, allocations: 334 kB / 1.542 GB, free: 4.039 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.8657, allocations: 79.53 kB / 1.542 GB, free: 3.961 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.8659, allocations: 103.2 kB / 1.542 GB, free: 3.852 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.8659, allocations: 11.94 kB / 1.542 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.8659, allocations: 0 / 1.542 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/0.8674, allocations: 1.085 MB / 1.543 GB, free: 2.668 MB / 1.232 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 postOpt removeSimpleEquations (simulation): time 0.003686/0.8711, allocations: 1.914 MB / 1.545 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.8711, allocations: 0 / 1.545 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/0.8719, allocations: 175.8 kB / 1.545 GB, free: 0.543 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.8719, allocations: 4 kB / 1.545 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.872, allocations: 12 kB / 1.545 GB, free: 0.5273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/0.872, allocations: 8 kB / 1.545 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.872, allocations: 0 / 1.545 GB, free: 0.5195 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.8742, allocations: 1.356 MB / 1.546 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.8748, allocations: 175.4 kB / 1.547 GB, free: 14.96 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.8749, allocations: 12 kB / 1.547 GB, free: 14.95 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.8756, allocations: 27.92 kB / 1.547 GB, free: 14.93 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8757, allocations: 44.56 kB / 1.547 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-05/0.8758, allocations: 31.98 kB / 1.547 GB, free: 14.85 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005127/0.8763, allocations: 350.8 kB / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.8763, allocations: 0 / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001208/0.8775, allocations: 375.2 kB / 1.547 GB, free: 14.14 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0003748/0.8779, allocations: 195.1 kB / 1.548 GB, free: 13.95 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.8793, allocations: 0.7635 MB / 1.548 GB, free: 13.19 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.8793, allocations: 4 kB / 1.548 GB, free: 13.18 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006231/0.8799, allocations: 407.5 kB / 1.549 GB, free: 12.79 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.8825, allocations: 0.5349 MB / 1.549 GB, free: 12.27 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/0.888, allocations: 2.259 MB / 1.551 GB, free: 9.965 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.8892, allocations: 0.5464 MB / 1.552 GB, free: 9.391 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.8896, allocations: 75.44 kB / 1.552 GB, free: 9.316 MB / 1.248 GB Notification: Performance of SimCode: time 2.795e-06/0.8896, allocations: 4 kB / 1.552 GB, free: 9.312 MB / 1.248 GB Notification: Performance of Templates: time 0.03712/0.9267, allocations: 15.83 MB / 1.567 GB, free: 9.57 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 15.671519787050784]