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.0008998/0.0008998, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008288/0.0008288, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9122/0.9122, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 177] 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 5.791e-06/5.791e-06, allocations: 7.984 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.838e-05/4.417e-05, allocations: 5.375 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8199/0.8199, allocations: 180.6 MB / 1.177 GB, free: 1.723 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.83, allocations: 5.994 MB / 1.183 GB, free: 13.65 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.8322, allocations: 48.44 kB / 1.183 GB, free: 13.62 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.8343, allocations: 0.7034 MB / 1.184 GB, free: 13.25 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.8425, allocations: 2.872 MB / 1.187 GB, free: 11.7 MB / 1.042 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.002277/0.8448, allocations: 0.743 MB / 1.187 GB, free: 11.29 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.8501, allocations: 3.393 MB / 1.191 GB, free: 9.684 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.8516, allocations: 0.8125 MB / 1.191 GB, free: 9.281 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.8554, allocations: 1.837 MB / 1.193 GB, free: 8.48 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.8581, allocations: 1.026 MB / 1.194 GB, free: 8.156 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.8583, allocations: 128.2 kB / 1.194 GB, free: 8.156 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/0.863, allocations: 1.943 MB / 1.196 GB, free: 7.426 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0008327/0.8639, allocations: 0.5611 MB / 1.197 GB, free: 7.16 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.865, allocations: 0.5402 MB / 1.197 GB, free: 6.945 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.8716, allocations: 2.822 MB / 1.2 GB, free: 6.016 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.8716, allocations: 0 / 1.2 GB, free: 6.016 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8716, allocations: 0 / 1.2 GB, free: 6.016 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.212e-05/0.8716, allocations: 1.156 kB / 1.2 GB, free: 6.016 MB / 1.042 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.004003/0.8756, allocations: 1.729 MB / 1.202 GB, free: 4.863 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.8757, allocations: 13.14 kB / 1.202 GB, free: 4.859 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.8773, allocations: 353 kB / 1.202 GB, free: 4.699 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8787, allocations: 0.8193 MB / 1.203 GB, free: 4.102 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.8788, allocations: 73.27 kB / 1.203 GB, free: 4.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.8789, allocations: 103.2 kB / 1.203 GB, free: 4.035 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.8807, allocations: 1.388 MB / 1.204 GB, free: 3.098 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.8807, allocations: 0 / 1.204 GB, free: 3.098 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.8808, allocations: 45.86 kB / 1.205 GB, free: 3.062 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.8809, allocations: 65.5 kB / 1.205 GB, free: 3.043 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.8824, allocations: 1.236 MB / 1.206 GB, free: 2.426 MB / 1.042 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.004546/0.887, allocations: 2.969 MB / 1.209 GB, free: 0.5547 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.8879, allocations: 0.8292 MB / 1.21 GB, free: 108 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.8885, allocations: 493 kB / 1.21 GB, free: 15.86 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.8885, allocations: 16.27 kB / 1.21 GB, free: 15.86 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.8891, allocations: 0.6763 MB / 1.211 GB, free: 15.3 MB / 1.057 GB Notification: Performance of pre-optimization done (n=76): time 4.699e-06/0.8891, allocations: 2.562 kB / 1.211 GB, free: 15.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=76): time 0.001544/0.8907, allocations: 1.151 MB / 1.212 GB, free: 14.73 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.8907, allocations: 64.28 kB / 1.212 GB, free: 14.66 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.8914, allocations: 0.5073 MB / 1.212 GB, free: 14.34 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.8915, allocations: 42.98 kB / 1.212 GB, free: 14.3 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.8917, allocations: 472.6 kB / 1.213 GB, free: 13.89 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.892, allocations: 288.3 kB / 1.213 GB, free: 13.64 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.8921, allocations: 126 kB / 1.213 GB, free: 13.57 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.8923, allocations: 382 kB / 1.214 GB, free: 13.2 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.8926, allocations: 329.3 kB / 1.214 GB, free: 13.04 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.893, allocations: 455.1 kB / 1.214 GB, free: 12.74 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.8938, allocations: 0.8193 MB / 1.215 GB, free: 12.25 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.8938, allocations: 0 / 1.215 GB, free: 12.25 MB / 1.057 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001017/0.8948, allocations: 0.9298 MB / 1.216 GB, free: 11.77 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.8949, allocations: 9.406 kB / 1.216 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.8949, allocations: 2.75 kB / 1.216 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.8949, allocations: 8.156 kB / 1.216 GB, free: 11.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.8953, allocations: 162.2 kB / 1.216 GB, free: 11.73 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.8953, allocations: 5.281 kB / 1.216 GB, free: 11.73 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005059/0.8958, allocations: 60.61 kB / 1.216 GB, free: 11.68 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.8959, allocations: 22.88 kB / 1.216 GB, free: 11.68 MB / 1.057 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.0005312/0.8964, allocations: 332.1 kB / 1.217 GB, free: 11.43 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.8965, allocations: 81 kB / 1.217 GB, free: 11.39 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.8966, allocations: 109.7 kB / 1.217 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.8966, allocations: 8.094 kB / 1.217 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.8967, allocations: 3.188 kB / 1.217 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009284/0.8976, allocations: 1.087 MB / 1.218 GB, free: 10.5 MB / 1.057 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.002259/0.8999, allocations: 1.898 MB / 1.22 GB, free: 9.309 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8999, allocations: 0 / 1.22 GB, free: 9.309 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.9003, allocations: 175.1 kB / 1.22 GB, free: 9.27 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.9003, allocations: 6.938 kB / 1.22 GB, free: 9.266 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9004, allocations: 17.44 kB / 1.22 GB, free: 9.254 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.9004, allocations: 4.906 kB / 1.22 GB, free: 9.254 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9004, allocations: 0 / 1.22 GB, free: 9.254 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.9017, allocations: 1.355 MB / 1.221 GB, free: 8.488 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.902, allocations: 163.3 kB / 1.221 GB, free: 8.383 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.902, allocations: 24.89 kB / 1.221 GB, free: 8.363 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.9024, allocations: 20.42 kB / 1.221 GB, free: 8.352 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.9024, allocations: 47.91 kB / 1.221 GB, free: 8.32 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.9025, allocations: 31.17 kB / 1.222 GB, free: 8.309 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003156/0.9028, allocations: 360.8 kB / 1.222 GB, free: 8.094 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9028, allocations: 0 / 1.222 GB, free: 8.094 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0009396/0.9037, allocations: 375.4 kB / 1.222 GB, free: 8.016 MB / 1.057 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.0003086/0.904, allocations: 177.2 kB / 1.222 GB, free: 7.879 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008739/0.9049, allocations: 0.7634 MB / 1.223 GB, free: 7.52 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.9049, allocations: 3.938 kB / 1.223 GB, free: 7.516 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003956/0.9053, allocations: 407 kB / 1.224 GB, free: 7.332 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.9069, allocations: 0.5389 MB / 1.224 GB, free: 6.863 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002743/0.9097, allocations: 2.122 MB / 1.226 GB, free: 4.699 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.9101, allocations: 0.5464 MB / 1.227 GB, free: 4.121 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.9103, allocations: 76.5 kB / 1.227 GB, free: 4.047 MB / 1.057 GB Notification: Performance of SimCode: time 1.393e-06/0.9103, allocations: 0 / 1.227 GB, free: 4.047 MB / 1.057 GB Notification: Performance of Templates: time 0.02096/0.9313, allocations: 16.06 MB / 1.242 GB, free: 4.07 MB / 1.073 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.7844383623451]