Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002375/0.002375, 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.001887/0.001887, allocations: 163.6 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.567/1.567, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.918/2.918, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.455e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 1.066/1.066, allocations: 180.6 MB / 1.177 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01055/1.077, allocations: 5.993 MB / 1.182 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/1.079, allocations: 47.62 kB / 1.182 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/1.081, allocations: 0.7022 MB / 1.183 GB, free: 44.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00827/1.09, allocations: 2.879 MB / 1.186 GB, free: 44.19 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.002704/1.092, allocations: 0.7267 MB / 1.187 GB, free: 44.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007903/1.1, allocations: 3.394 MB / 1.19 GB, free: 43.54 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/1.102, allocations: 0.814 MB / 1.191 GB, free: 43.45 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/1.108, allocations: 1.836 MB / 1.193 GB, free: 43.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/1.111, allocations: 1.036 MB / 1.194 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002973/1.111, allocations: 128.3 kB / 1.194 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006975/1.118, allocations: 1.941 MB / 1.196 GB, free: 42.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001406/1.12, allocations: 0.5585 MB / 1.196 GB, free: 42.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001565/1.121, allocations: 0.536 MB / 1.197 GB, free: 42.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008118/1.129, allocations: 2.824 MB / 1.199 GB, free: 42.32 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.129, allocations: 0 / 1.199 GB, free: 42.32 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/1.129, allocations: 4.25 kB / 1.199 GB, free: 42.32 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.984e-05/1.129, allocations: 1.188 kB / 1.199 GB, free: 42.32 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.005065/1.135, allocations: 1.723 MB / 1.201 GB, free: 41.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.135, allocations: 13.75 kB / 1.201 GB, free: 41.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/1.137, allocations: 353.8 kB / 1.201 GB, free: 41.25 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/1.139, allocations: 0.8073 MB / 1.202 GB, free: 40.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-05/1.139, allocations: 74.73 kB / 1.202 GB, free: 40.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/1.139, allocations: 104.2 kB / 1.202 GB, free: 40.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/1.142, allocations: 1.402 MB / 1.204 GB, free: 40.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.142, allocations: 1.719 kB / 1.204 GB, free: 40.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/1.142, allocations: 41.61 kB / 1.204 GB, free: 40.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/1.142, allocations: 62.8 kB / 1.204 GB, free: 40.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/1.144, allocations: 1.238 MB / 1.205 GB, free: 39.6 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.006468/1.151, allocations: 2.96 MB / 1.208 GB, free: 38.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.152, allocations: 0.8285 MB / 1.209 GB, free: 38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008133/1.153, allocations: 491.9 kB / 1.209 GB, free: 37.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/1.153, allocations: 14.17 kB / 1.209 GB, free: 37.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009131/1.154, allocations: 0.6757 MB / 1.21 GB, free: 37.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/1.154, allocations: 0.9375 kB / 1.21 GB, free: 37.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.002289/1.156, allocations: 1.155 MB / 1.211 GB, free: 36.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/1.156, allocations: 63.22 kB / 1.211 GB, free: 36.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/1.157, allocations: 0.5043 MB / 1.212 GB, free: 36.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.859e-05/1.157, allocations: 41.64 kB / 1.212 GB, free: 36.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.157, allocations: 476.2 kB / 1.212 GB, free: 36.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/1.158, allocations: 280.5 kB / 1.212 GB, free: 35.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/1.158, allocations: 126 kB / 1.212 GB, free: 35.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.158, allocations: 379.1 kB / 1.213 GB, free: 35.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/1.159, allocations: 332.1 kB / 1.213 GB, free: 35.44 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/1.159, allocations: 449.9 kB / 1.214 GB, free: 35.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.16, allocations: 0.8262 MB / 1.214 GB, free: 34.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/1.16, allocations: 1.156 kB / 1.214 GB, free: 34.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001588/1.162, allocations: 0.9302 MB / 1.215 GB, free: 34.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.162, allocations: 6.562 kB / 1.215 GB, free: 34.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.162, allocations: 8.406 kB / 1.215 GB, free: 34.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/1.162, allocations: 6.281 kB / 1.215 GB, free: 34.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/1.163, allocations: 158.4 kB / 1.215 GB, free: 34.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/1.163, allocations: 6.672 kB / 1.215 GB, free: 34.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/1.164, allocations: 58.45 kB / 1.216 GB, free: 34.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/1.164, allocations: 24.83 kB / 1.216 GB, free: 34.34 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.0006646/1.164, allocations: 333.3 kB / 1.216 GB, free: 34.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.165, allocations: 81.03 kB / 1.216 GB, free: 34.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/1.165, allocations: 105 kB / 1.216 GB, free: 34.01 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/1.165, allocations: 8.125 kB / 1.216 GB, free: 34.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.165, allocations: 5.094 kB / 1.216 GB, free: 34.01 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/1.166, allocations: 1.085 MB / 1.217 GB, free: 33.3 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.003292/1.169, allocations: 1.903 MB / 1.219 GB, free: 32.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/1.169, allocations: 3.469 kB / 1.219 GB, free: 32.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009306/1.17, allocations: 171.9 kB / 1.219 GB, free: 32.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.17, allocations: 3.531 kB / 1.219 GB, free: 32.38 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/1.17, allocations: 26.78 kB / 1.219 GB, free: 32.37 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.17, allocations: 3.812 kB / 1.219 GB, free: 32.37 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.17, allocations: 4.938 kB / 1.219 GB, free: 32.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.173, allocations: 1.34 MB / 1.22 GB, free: 31.74 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/1.174, allocations: 177.1 kB / 1.221 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.174, allocations: 17.5 kB / 1.221 GB, free: 31.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/1.174, allocations: 21.14 kB / 1.221 GB, free: 31.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/1.174, allocations: 50.48 kB / 1.221 GB, free: 31.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/1.175, allocations: 27.59 kB / 1.221 GB, free: 31.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006135/1.175, allocations: 356.3 kB / 1.221 GB, free: 31.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.175, allocations: 0 / 1.221 GB, free: 31.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00174/1.177, allocations: 380.9 kB / 1.221 GB, free: 31.37 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.0004039/1.177, allocations: 183.9 kB / 1.222 GB, free: 31.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001585/1.179, allocations: 0.7643 MB / 1.222 GB, free: 31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.179, allocations: 5.156 kB / 1.222 GB, free: 31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006625/1.18, allocations: 411.2 kB / 1.223 GB, free: 30.87 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.182, allocations: 0.5303 MB / 1.223 GB, free: 30.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004276/1.187, allocations: 2.06 MB / 1.225 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/1.187, allocations: 0.5427 MB / 1.226 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001406/1.189, allocations: 261.2 kB / 1.226 GB, free: 29.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/1.189, allocations: 69.94 kB / 1.226 GB, free: 29.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.004e-06/1.189, allocations: 0 / 1.226 GB, free: 29.45 MB / 1.076 GB Notification: Performance of Templates: time 0.03731/1.226, allocations: 18.3 MB / 1.244 GB, free: 27.38 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.665391154587269]