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.001447/0.001447, allocations: 117.3 kB / 17.13 MB, free: 5.945 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.001486/0.001486, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.665/1.665, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.062/3.062, allocations: 0.49 GB / 0.7923 GB, free: 1.348 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.002134/0.002134, allocations: 67.89 kB / 1.15 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369/1.371, allocations: 176.1 MB / 1.322 GB, free: 25.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2856/1.657, allocations: 207.9 MB / 1.525 GB, free: 9.434 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01246/1.669, allocations: 6.396 MB / 1.531 GB, free: 3.02 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/1.672, allocations: 51.62 kB / 1.531 GB, free: 2.969 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/1.674, allocations: 0.7733 MB / 1.532 GB, free: 2.191 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008821/1.683, allocations: 2.771 MB / 1.535 GB, free: 15.41 MB / 1.217 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.002386/1.685, allocations: 0.7097 MB / 1.535 GB, free: 14.7 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005471/1.691, allocations: 3.274 MB / 1.539 GB, free: 11.41 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/1.693, allocations: 0.9375 MB / 1.54 GB, free: 10.46 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/1.696, allocations: 1.429 MB / 1.541 GB, free: 9.023 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/1.699, allocations: 1.145 MB / 1.542 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/1.699, allocations: 128 kB / 1.542 GB, free: 7.754 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005804/1.705, allocations: 2.494 MB / 1.545 GB, free: 5.254 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008137/1.706, allocations: 0.5297 MB / 1.545 GB, free: 4.723 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001322/1.707, allocations: 0.7469 MB / 1.546 GB, free: 3.973 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006205/1.713, allocations: 2.808 MB / 1.549 GB, free: 1.156 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.713, allocations: 4 kB / 1.549 GB, free: 1.152 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.154e-06/1.713, allocations: 3.938 kB / 1.549 GB, free: 1.148 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.509e-05/1.713, allocations: 0 / 1.549 GB, free: 1.148 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.005034/1.718, allocations: 1.806 MB / 1.55 GB, free: 15.29 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.718, allocations: 8.031 kB / 1.55 GB, free: 15.28 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.721, allocations: 346.9 kB / 1.551 GB, free: 14.94 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/1.723, allocations: 0.8941 MB / 1.552 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/1.723, allocations: 74.02 kB / 1.552 GB, free: 13.92 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/1.723, allocations: 104 kB / 1.552 GB, free: 13.82 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/1.725, allocations: 1.187 MB / 1.553 GB, free: 12.6 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.725, allocations: 4 kB / 1.553 GB, free: 12.6 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/1.725, allocations: 47.97 kB / 1.553 GB, free: 12.55 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.135e-05/1.725, allocations: 62.02 kB / 1.553 GB, free: 12.49 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/1.727, allocations: 1.25 MB / 1.554 GB, free: 11.23 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.007425/1.735, allocations: 5.264 MB / 1.559 GB, free: 5.469 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.736, allocations: 1.126 MB / 1.56 GB, free: 4.266 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/1.737, allocations: 489.2 kB / 1.561 GB, free: 3.785 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/1.737, allocations: 24.78 kB / 1.561 GB, free: 3.758 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007969/1.738, allocations: 488.2 kB / 1.561 GB, free: 3.273 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/1.738, allocations: 0 / 1.561 GB, free: 3.273 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002232/1.74, allocations: 1.161 MB / 1.563 GB, free: 2.105 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/1.74, allocations: 60.06 kB / 1.563 GB, free: 2.035 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/1.741, allocations: 0.5744 MB / 1.563 GB, free: 1.449 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/1.741, allocations: 45.69 kB / 1.563 GB, free: 1.398 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.742, allocations: 468.7 kB / 1.564 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/1.742, allocations: 281.5 kB / 1.564 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.742, allocations: 130.6 kB / 1.564 GB, free: 0.5234 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.742, allocations: 386.8 kB / 1.564 GB, free: 140 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005402/1.743, allocations: 329.9 kB / 1.565 GB, free: 15.81 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.743, allocations: 456.7 kB / 1.565 GB, free: 15.33 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/1.745, allocations: 0.8194 MB / 1.566 GB, free: 14.47 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.745, allocations: 4 kB / 1.566 GB, free: 14.46 MB / 1.248 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001554/1.746, allocations: 0.9339 MB / 1.567 GB, free: 13.52 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/1.746, allocations: 8 kB / 1.567 GB, free: 13.52 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.746, allocations: 7.875 kB / 1.567 GB, free: 13.51 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.746, allocations: 8 kB / 1.567 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/1.747, allocations: 152.2 kB / 1.567 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/1.747, allocations: 19.92 kB / 1.567 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/1.748, allocations: 59.52 kB / 1.567 GB, free: 13.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/1.748, allocations: 24 kB / 1.567 GB, free: 13.25 MB / 1.248 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.0006136/1.749, allocations: 333.9 kB / 1.567 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.749, allocations: 83.48 kB / 1.568 GB, free: 12.83 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/1.749, allocations: 111.7 kB / 1.568 GB, free: 12.72 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/1.749, allocations: 8 kB / 1.568 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.749, allocations: 0 / 1.568 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001439/1.75, allocations: 1.093 MB / 1.569 GB, free: 11.53 MB / 1.248 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.003516/1.754, allocations: 2.307 MB / 1.571 GB, free: 9.137 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.754, allocations: 8 kB / 1.571 GB, free: 9.129 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000868/1.755, allocations: 171.8 kB / 1.571 GB, free: 8.961 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/1.755, allocations: 4 kB / 1.571 GB, free: 8.957 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/1.755, allocations: 24.02 kB / 1.571 GB, free: 8.934 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.974e-06/1.755, allocations: 4 kB / 1.571 GB, free: 8.93 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.755, allocations: 3.938 kB / 1.571 GB, free: 8.926 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.757, allocations: 1.363 MB / 1.573 GB, free: 7.543 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/1.757, allocations: 248.5 kB / 1.573 GB, free: 7.281 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.758, allocations: 23.98 kB / 1.573 GB, free: 7.258 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/1.758, allocations: 16 kB / 1.573 GB, free: 7.242 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.983e-05/1.758, allocations: 48.59 kB / 1.573 GB, free: 7.195 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/1.758, allocations: 23.98 kB / 1.573 GB, free: 7.172 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005693/1.759, allocations: 415.1 kB / 1.573 GB, free: 6.77 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/1.759, allocations: 0 / 1.573 GB, free: 6.77 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00106/1.76, allocations: 379.2 kB / 1.574 GB, free: 6.398 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.0003288/1.76, allocations: 175.5 kB / 1.574 GB, free: 6.219 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001296/1.762, allocations: 0.7635 MB / 1.575 GB, free: 5.453 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.762, allocations: 0 / 1.575 GB, free: 5.453 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/1.762, allocations: 415.6 kB / 1.575 GB, free: 5.051 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.765, allocations: 0.5901 MB / 1.576 GB, free: 4.477 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/1.769, allocations: 2.276 MB / 1.578 GB, free: 2.16 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008945/1.769, allocations: 1.136 MB / 1.579 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/1.77, allocations: 83.42 kB / 1.579 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of SimCode: time 1.273e-06/1.77, allocations: 0 / 1.579 GB, free: 0.9141 MB / 1.248 GB Notification: Performance of Templates: time 0.02828/1.798, allocations: 15.94 MB / 1.595 GB, free: 1.078 MB / 1.264 GB " [Timeout remaining time 298] 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: 16.39291356600006]