Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.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.001594/0.001594, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.00148/0.00148, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.575/1.575, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.7321 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.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_10_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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.063, allocations: 160.8 MB / 1.218 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2761/1.339, allocations: 205.4 MB / 1.419 GB, free: 9.141 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01256/1.351, allocations: 6.415 MB / 1.425 GB, free: 2.711 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/1.354, allocations: 51.62 kB / 1.425 GB, free: 2.66 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/1.356, allocations: 0.7655 MB / 1.426 GB, free: 1.891 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009695/1.366, allocations: 2.824 MB / 1.429 GB, free: 15.05 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.002656/1.369, allocations: 0.752 MB / 1.43 GB, free: 14.31 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005777/1.375, allocations: 3.354 MB / 1.433 GB, free: 10.95 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/1.376, allocations: 0.8247 MB / 1.434 GB, free: 10.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/1.38, allocations: 1.3 MB / 1.435 GB, free: 8.789 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003179/1.383, allocations: 1.179 MB / 1.436 GB, free: 7.609 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/1.383, allocations: 132 kB / 1.436 GB, free: 7.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006943/1.39, allocations: 2.552 MB / 1.439 GB, free: 4.922 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000785/1.391, allocations: 0.5297 MB / 1.439 GB, free: 4.391 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001215/1.392, allocations: 0.7353 MB / 1.44 GB, free: 3.652 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005667/1.398, allocations: 2.807 MB / 1.443 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.398, allocations: 0 / 1.443 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.033e-06/1.398, allocations: 0 / 1.443 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.398, allocations: 0 / 1.443 GB, free: 0.8398 MB / 1.139 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.004456/1.402, allocations: 1.815 MB / 1.444 GB, free: 14.97 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/1.402, allocations: 12.03 kB / 1.444 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/1.405, allocations: 346.9 kB / 1.445 GB, free: 14.62 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/1.406, allocations: 0.8902 MB / 1.446 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/1.406, allocations: 74.02 kB / 1.446 GB, free: 13.61 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/1.407, allocations: 107.9 kB / 1.446 GB, free: 13.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/1.409, allocations: 1.187 MB / 1.447 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/1.409, allocations: 0 / 1.447 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.409, allocations: 40 kB / 1.447 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.738e-05/1.409, allocations: 62.06 kB / 1.447 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/1.411, allocations: 1.246 MB / 1.448 GB, free: 10.93 MB / 1.154 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.007119/1.418, allocations: 5.114 MB / 1.453 GB, free: 5.359 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.419, allocations: 1.133 MB / 1.454 GB, free: 4.148 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/1.42, allocations: 489.2 kB / 1.455 GB, free: 3.664 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/1.42, allocations: 12.8 kB / 1.455 GB, free: 3.652 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008245/1.421, allocations: 488.2 kB / 1.455 GB, free: 3.168 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/1.421, allocations: 3.938 kB / 1.455 GB, free: 3.164 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.002129/1.423, allocations: 1.173 MB / 1.456 GB, free: 1.984 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.423, allocations: 60.06 kB / 1.457 GB, free: 1.914 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/1.424, allocations: 0.5744 MB / 1.457 GB, free: 1.328 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/1.424, allocations: 41.7 kB / 1.457 GB, free: 1.281 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/1.425, allocations: 472.6 kB / 1.458 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/1.425, allocations: 277.5 kB / 1.458 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/1.425, allocations: 130.6 kB / 1.458 GB, free: 416 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.425, allocations: 394.8 kB / 1.458 GB, free: 12 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/1.426, allocations: 329.8 kB / 1.459 GB, free: 15.69 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/1.426, allocations: 444.8 kB / 1.459 GB, free: 15.22 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/1.428, allocations: 0.8271 MB / 1.46 GB, free: 14.35 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.428, allocations: 4 kB / 1.46 GB, free: 14.35 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001539/1.429, allocations: 0.9303 MB / 1.461 GB, free: 13.41 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/1.429, allocations: 10.22 kB / 1.461 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.429, allocations: 7.938 kB / 1.461 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.429, allocations: 4 kB / 1.461 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/1.43, allocations: 159.7 kB / 1.461 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/1.43, allocations: 8 kB / 1.461 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/1.431, allocations: 63.5 kB / 1.461 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.431, allocations: 28 kB / 1.461 GB, free: 13.14 MB / 1.17 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.0006793/1.432, allocations: 325.6 kB / 1.461 GB, free: 12.81 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.432, allocations: 87.53 kB / 1.461 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/1.432, allocations: 111.7 kB / 1.462 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.432, allocations: 8 kB / 1.462 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.432, allocations: 0 / 1.462 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001461/1.433, allocations: 1.093 MB / 1.463 GB, free: 11.42 MB / 1.17 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.003752/1.437, allocations: 2.311 MB / 1.465 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.437, allocations: 3.938 kB / 1.465 GB, free: 9.016 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/1.438, allocations: 175.9 kB / 1.465 GB, free: 8.844 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/1.438, allocations: 4 kB / 1.465 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/1.438, allocations: 19.98 kB / 1.465 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.438, allocations: 3.938 kB / 1.465 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.438, allocations: 4 kB / 1.465 GB, free: 8.812 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/1.44, allocations: 1.356 MB / 1.466 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/1.441, allocations: 256.4 kB / 1.467 GB, free: 7.168 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/1.441, allocations: 16 kB / 1.467 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/1.442, allocations: 19.98 kB / 1.467 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.442, allocations: 40.58 kB / 1.467 GB, free: 7.094 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/1.442, allocations: 27.98 kB / 1.467 GB, free: 7.066 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006779/1.443, allocations: 411.1 kB / 1.467 GB, free: 6.668 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.443, allocations: 0 / 1.467 GB, free: 6.668 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001323/1.444, allocations: 383.2 kB / 1.468 GB, free: 6.293 MB / 1.17 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.0004147/1.444, allocations: 183.1 kB / 1.468 GB, free: 6.105 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001475/1.446, allocations: 0.7668 MB / 1.468 GB, free: 5.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.446, allocations: 0 / 1.468 GB, free: 5.34 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/1.446, allocations: 411.5 kB / 1.469 GB, free: 4.938 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/1.449, allocations: 0.5798 MB / 1.469 GB, free: 4.367 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/1.453, allocations: 2.202 MB / 1.472 GB, free: 2.133 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009784/1.454, allocations: 1.14 MB / 1.473 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009623/1.455, allocations: 279.1 kB / 1.473 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/1.456, allocations: 71.38 kB / 1.473 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of SimCode: time 1.462e-06/1.456, allocations: 0 / 1.473 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of Templates: time 0.03817/1.494, allocations: 19.89 MB / 1.492 GB, free: 12.97 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.209440192207694]