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.001838/0.001838, allocations: 104.3 kB / 19.7 MB, free: 2 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.002186/0.002186, allocations: 212.6 kB / 22.99 MB, free: 4.426 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.092/3.092, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.002026/0.002026, allocations: 69.19 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2773, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2148/0.4921, allocations: 180.8 MB / 1.504 GB, free: 11.51 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.5022, allocations: 6.007 MB / 1.51 GB, free: 5.488 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000618/0.5028, allocations: 51.56 kB / 1.51 GB, free: 5.438 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.5045, allocations: 0.6954 MB / 1.51 GB, free: 4.738 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005851/0.5103, allocations: 2.813 MB / 1.513 GB, free: 1.914 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.001724/0.5121, allocations: 0.7389 MB / 1.514 GB, free: 1.18 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003816/0.5159, allocations: 3.357 MB / 1.517 GB, free: 13.81 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.517, allocations: 0.8091 MB / 1.518 GB, free: 12.97 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.519, allocations: 1.441 MB / 1.519 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.521, allocations: 1.151 MB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5211, allocations: 128 kB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.5246, allocations: 1.928 MB / 1.522 GB, free: 8.32 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.5251, allocations: 0.5258 MB / 1.523 GB, free: 7.793 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.5258, allocations: 0.6226 MB / 1.523 GB, free: 7.168 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/0.5295, allocations: 2.73 MB / 1.526 GB, free: 4.43 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5295, allocations: 0 / 1.526 GB, free: 4.43 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5295, allocations: 0 / 1.526 GB, free: 4.43 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.5295, allocations: 0 / 1.526 GB, free: 4.43 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.004136/0.5336, allocations: 1.73 MB / 1.528 GB, free: 2.66 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5337, allocations: 12.03 kB / 1.528 GB, free: 2.648 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.5361, allocations: 350.9 kB / 1.528 GB, free: 2.305 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.5378, allocations: 0.818 MB / 1.529 GB, free: 1.453 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.5379, allocations: 81.95 kB / 1.529 GB, free: 1.371 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.538, allocations: 96 kB / 1.529 GB, free: 1.277 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.5403, allocations: 1.399 MB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.5403, allocations: 0 / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5404, allocations: 40 kB / 1.531 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-05/0.5405, allocations: 58.08 kB / 1.531 GB, free: 15.7 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.5426, allocations: 1.242 MB / 1.532 GB, free: 14.45 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.005799/0.5484, allocations: 2.973 MB / 1.535 GB, free: 11.43 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.5498, allocations: 0.824 MB / 1.536 GB, free: 10.6 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.5506, allocations: 481.2 kB / 1.536 GB, free: 10.12 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 5.916e-05/0.5507, allocations: 16.64 kB / 1.536 GB, free: 10.11 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/0.5516, allocations: 0.6814 MB / 1.537 GB, free: 9.363 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/0.5516, allocations: 0 / 1.537 GB, free: 9.363 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002081/0.5537, allocations: 1.161 MB / 1.538 GB, free: 8.195 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5537, allocations: 64 kB / 1.538 GB, free: 8.121 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.5544, allocations: 0.5068 MB / 1.538 GB, free: 7.605 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/0.5544, allocations: 41.7 kB / 1.538 GB, free: 7.559 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.5548, allocations: 480.6 kB / 1.539 GB, free: 7.082 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.555, allocations: 281.7 kB / 1.539 GB, free: 6.805 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.5553, allocations: 134.6 kB / 1.539 GB, free: 6.668 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5555, allocations: 378.8 kB / 1.54 GB, free: 6.289 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.556, allocations: 333.8 kB / 1.54 GB, free: 5.965 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.5566, allocations: 444.8 kB / 1.54 GB, free: 5.496 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.5578, allocations: 0.8271 MB / 1.541 GB, free: 4.629 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5578, allocations: 4 kB / 1.541 GB, free: 4.625 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001496/0.5593, allocations: 0.9262 MB / 1.542 GB, free: 3.691 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5594, allocations: 8 kB / 1.542 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5594, allocations: 0 / 1.542 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.5594, allocations: 11.94 kB / 1.542 GB, free: 3.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/0.5601, allocations: 160.1 kB / 1.542 GB, free: 3.516 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.5602, allocations: 11.94 kB / 1.542 GB, free: 3.504 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.5608, allocations: 51.62 kB / 1.542 GB, free: 3.453 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.5609, allocations: 31.98 kB / 1.542 GB, free: 3.422 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.0004708/0.5614, allocations: 330.1 kB / 1.543 GB, free: 3.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5615, allocations: 79.53 kB / 1.543 GB, free: 3.012 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.5617, allocations: 103.2 kB / 1.543 GB, free: 2.902 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5617, allocations: 11.94 kB / 1.543 GB, free: 2.891 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5617, allocations: 0 / 1.543 GB, free: 2.891 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/0.5631, allocations: 1.089 MB / 1.544 GB, free: 1.715 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.003153/0.5663, allocations: 1.902 MB / 1.546 GB, free: 15.77 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5663, allocations: 0 / 1.546 GB, free: 15.77 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.5672, allocations: 171.8 kB / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5672, allocations: 4 kB / 1.546 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.5673, allocations: 23.97 kB / 1.546 GB, free: 15.58 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5673, allocations: 4 kB / 1.546 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5673, allocations: 4.031 kB / 1.546 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.5693, allocations: 1.352 MB / 1.547 GB, free: 14.2 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/0.5697, allocations: 175.4 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5698, allocations: 16 kB / 1.547 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.5704, allocations: 25.23 kB / 1.547 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.5705, allocations: 44.58 kB / 1.547 GB, free: 13.94 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/0.5706, allocations: 27.98 kB / 1.548 GB, free: 13.91 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004286/0.571, allocations: 358.8 kB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.571, allocations: 0 / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008705/0.5719, allocations: 375.2 kB / 1.548 GB, free: 13.2 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.0002652/0.5722, allocations: 177.4 kB / 1.548 GB, free: 13.02 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.5734, allocations: 0.7668 MB / 1.549 GB, free: 12.25 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5734, allocations: 0 / 1.549 GB, free: 12.25 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.574, allocations: 415.5 kB / 1.55 GB, free: 11.85 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.5763, allocations: 0.5383 MB / 1.55 GB, free: 11.32 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.5797, allocations: 2.187 MB / 1.552 GB, free: 9.102 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.5803, allocations: 0.5464 MB / 1.553 GB, free: 8.527 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0007957/0.5811, allocations: 266.6 kB / 1.553 GB, free: 8.262 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.5813, allocations: 67.44 kB / 1.553 GB, free: 8.195 MB / 1.248 GB Notification: Performance of SimCode: time 4.41e-07/0.5813, allocations: 3.938 kB / 1.553 GB, free: 8.191 MB / 1.248 GB Notification: Performance of Templates: time 0.03292/0.6142, allocations: 20.64 MB / 1.573 GB, free: 3.98 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 -s gbode -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: 9.31128131999867]