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.002041/0.002041, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001439/0.001439, allocations: 160.2 kB / 22.46 MB, free: 5.375 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.753/2.753, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.9814 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.808e-05, allocations: 6.281 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.9003/0.9003, allocations: 180.6 MB / 1.158 GB, free: 45.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009262/0.9096, allocations: 5.999 MB / 1.164 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.9115, allocations: 49.88 kB / 1.164 GB, free: 45.21 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.9135, allocations: 0.6973 MB / 1.164 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.9212, allocations: 2.883 MB / 1.167 GB, free: 45.07 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.002055/0.9232, allocations: 0.7387 MB / 1.168 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.9276, allocations: 3.388 MB / 1.171 GB, free: 44.45 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.9289, allocations: 0.8173 MB / 1.172 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.9323, allocations: 1.827 MB / 1.174 GB, free: 44.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.9347, allocations: 1.027 MB / 1.175 GB, free: 44.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.9349, allocations: 132.8 kB / 1.175 GB, free: 44.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004415/0.9393, allocations: 1.939 MB / 1.177 GB, free: 43.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008341/0.9401, allocations: 0.5569 MB / 1.177 GB, free: 43.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.9415, allocations: 0.5423 MB / 1.178 GB, free: 43.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00729/0.9488, allocations: 2.817 MB / 1.181 GB, free: 43.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.9488, allocations: 0.7031 kB / 1.181 GB, free: 43.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9488, allocations: 0.9375 kB / 1.181 GB, free: 43.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.259e-05/0.9489, allocations: 1.344 kB / 1.181 GB, free: 43.54 MB / 1.076 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.00539/0.9543, allocations: 1.725 MB / 1.182 GB, free: 42.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9543, allocations: 10.23 kB / 1.182 GB, free: 42.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.957, allocations: 358.2 kB / 1.183 GB, free: 42.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.9591, allocations: 0.8118 MB / 1.183 GB, free: 42.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.9591, allocations: 76.45 kB / 1.184 GB, free: 42.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.9593, allocations: 105.6 kB / 1.184 GB, free: 42.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.9619, allocations: 1.394 MB / 1.185 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.9619, allocations: 0 / 1.185 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.9621, allocations: 42.59 kB / 1.185 GB, free: 42.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.306e-05/0.9622, allocations: 59.83 kB / 1.185 GB, free: 42.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.9646, allocations: 1.244 MB / 1.186 GB, free: 42.07 MB / 1.076 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.006957/0.9716, allocations: 2.969 MB / 1.189 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.973, allocations: 0.8434 MB / 1.19 GB, free: 41.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.9738, allocations: 494.9 kB / 1.191 GB, free: 41.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.9739, allocations: 12.56 kB / 1.191 GB, free: 41.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009001/0.9748, allocations: 0.6771 MB / 1.191 GB, free: 41.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=76): time 3.997e-06/0.9748, allocations: 0.75 kB / 1.191 GB, free: 41.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.002376/0.9771, allocations: 1.153 MB / 1.192 GB, free: 41.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.9772, allocations: 62.22 kB / 1.192 GB, free: 41.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.9779, allocations: 0.5038 MB / 1.193 GB, free: 40.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/0.978, allocations: 40.8 kB / 1.193 GB, free: 40.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.9783, allocations: 478.9 kB / 1.193 GB, free: 40.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.9786, allocations: 282.4 kB / 1.194 GB, free: 40.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.9788, allocations: 130.8 kB / 1.194 GB, free: 40.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.979, allocations: 384 kB / 1.194 GB, free: 40.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.9795, allocations: 332.3 kB / 1.194 GB, free: 40.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.9801, allocations: 450.4 kB / 1.195 GB, free: 40.07 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.9814, allocations: 0.8214 MB / 1.196 GB, free: 39.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.9814, allocations: 2.438 kB / 1.196 GB, free: 39.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001627/0.983, allocations: 0.9277 MB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9831, allocations: 8.594 kB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9831, allocations: 4.094 kB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.9831, allocations: 6.344 kB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.9838, allocations: 158.4 kB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.9838, allocations: 9.641 kB / 1.197 GB, free: 39.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.9847, allocations: 54.53 kB / 1.197 GB, free: 39.85 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.9848, allocations: 26.61 kB / 1.197 GB, free: 39.85 MB / 1.076 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.0006347/0.9854, allocations: 339.4 kB / 1.197 GB, free: 39.73 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.9856, allocations: 80.03 kB / 1.197 GB, free: 39.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.9858, allocations: 102.8 kB / 1.197 GB, free: 39.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.9858, allocations: 11.12 kB / 1.197 GB, free: 39.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-05/0.9858, allocations: 4 kB / 1.197 GB, free: 39.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/0.987, allocations: 1.089 MB / 1.198 GB, free: 39.03 MB / 1.076 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.003268/0.9903, allocations: 1.893 MB / 1.2 GB, free: 38.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9903, allocations: 1.344 kB / 1.2 GB, free: 38.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.9912, allocations: 175.2 kB / 1.2 GB, free: 38.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.9912, allocations: 5.031 kB / 1.2 GB, free: 38.12 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.9912, allocations: 14.44 kB / 1.2 GB, free: 38.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.9912, allocations: 5.016 kB / 1.2 GB, free: 38.11 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9912, allocations: 9.312 kB / 1.2 GB, free: 38.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.9932, allocations: 1.351 MB / 1.202 GB, free: 37.47 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/0.9937, allocations: 171.8 kB / 1.202 GB, free: 37.38 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.9938, allocations: 15.34 kB / 1.202 GB, free: 37.37 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.9944, allocations: 22.02 kB / 1.202 GB, free: 37.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.9945, allocations: 48.73 kB / 1.202 GB, free: 37.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.9946, allocations: 28.19 kB / 1.202 GB, free: 37.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004692/0.995, allocations: 356.2 kB / 1.202 GB, free: 37.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.995, allocations: 1.094 kB / 1.202 GB, free: 37.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001167/0.9962, allocations: 375.4 kB / 1.203 GB, free: 37.11 MB / 1.076 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.0003034/0.9965, allocations: 187 kB / 1.203 GB, free: 37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001302/0.9978, allocations: 0.7648 MB / 1.204 GB, free: 36.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9978, allocations: 1.406 kB / 1.204 GB, free: 36.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005724/0.9984, allocations: 410.7 kB / 1.204 GB, free: 36.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.001, allocations: 0.5343 MB / 1.205 GB, free: 36.49 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/1.004, allocations: 2.043 MB / 1.207 GB, free: 35.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/1.005, allocations: 0.5455 MB / 1.207 GB, free: 35.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001079/1.006, allocations: 270.6 kB / 1.207 GB, free: 35.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/1.006, allocations: 74.55 kB / 1.207 GB, free: 35.27 MB / 1.076 GB Notification: Performance of SimCode: time 1.122e-06/1.006, allocations: 0 / 1.207 GB, free: 35.27 MB / 1.076 GB Notification: Performance of Templates: time 0.03339/1.04, allocations: 18.32 MB / 1.225 GB, free: 33.23 MB / 1.076 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/jenkins/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.72450079396367]