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.002462/0.002462, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003/0.003, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.361/3.361, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.332e-06/1.332e-06, allocations: 0 / 0.8774 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.507e-05, allocations: 8.984 kB / 0.8774 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6692/0.6693, allocations: 201.7 MB / 1.074 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008069/0.6773, allocations: 6.517 MB / 1.081 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6784, allocations: 45.97 kB / 1.081 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.68, allocations: 0.7011 MB / 1.082 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005744/0.6857, allocations: 2.881 MB / 1.084 GB, free: 47.43 MB / 1.01 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.001566/0.6873, allocations: 0.7288 MB / 1.085 GB, free: 47.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003284/0.6906, allocations: 3.403 MB / 1.088 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.6916, allocations: 0.8391 MB / 1.089 GB, free: 46.9 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002632/0.6942, allocations: 1.846 MB / 1.091 GB, free: 46.74 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.6962, allocations: 1.065 MB / 1.092 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.6964, allocations: 128.9 kB / 1.092 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.6998, allocations: 1.939 MB / 1.094 GB, free: 46.43 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.7003, allocations: 0.5715 MB / 1.095 GB, free: 46.36 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.701, allocations: 0.54 MB / 1.095 GB, free: 46.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.7051, allocations: 2.838 MB / 1.098 GB, free: 46.08 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7051, allocations: 0 / 1.098 GB, free: 46.08 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7051, allocations: 0.9062 kB / 1.098 GB, free: 46.08 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.7051, allocations: 1.125 kB / 1.098 GB, free: 46.08 MB / 1.01 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.003953/0.709, allocations: 1.93 MB / 1.1 GB, free: 45.2 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7091, allocations: 9.25 kB / 1.1 GB, free: 45.2 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.7113, allocations: 468.8 kB / 1.1 GB, free: 45.1 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.7128, allocations: 0.8221 MB / 1.101 GB, free: 44.83 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.7129, allocations: 78.22 kB / 1.101 GB, free: 44.83 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.7131, allocations: 99.97 kB / 1.101 GB, free: 44.83 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.7147, allocations: 1.07 MB / 1.102 GB, free: 44.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.7147, allocations: 2.219 kB / 1.102 GB, free: 44.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.7148, allocations: 41.91 kB / 1.102 GB, free: 44.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.27e-05/0.7149, allocations: 59.72 kB / 1.102 GB, free: 44.49 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.7164, allocations: 0.811 MB / 1.103 GB, free: 44.47 MB / 1.01 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.005772/0.7222, allocations: 3.196 MB / 1.106 GB, free: 43.88 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.7233, allocations: 0.5881 MB / 1.107 GB, free: 43.83 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.7239, allocations: 328.5 kB / 1.107 GB, free: 43.81 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-05/0.724, allocations: 20.95 kB / 1.107 GB, free: 43.81 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.7246, allocations: 0.5646 MB / 1.108 GB, free: 43.5 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.7246, allocations: 0.6875 kB / 1.108 GB, free: 43.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.00168/0.7263, allocations: 0.7946 MB / 1.109 GB, free: 43.41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.7263, allocations: 63.53 kB / 1.109 GB, free: 43.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.727, allocations: 0.6424 MB / 1.109 GB, free: 43.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.7271, allocations: 39.83 kB / 1.109 GB, free: 43.13 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.7274, allocations: 0.5429 MB / 1.11 GB, free: 42.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.7276, allocations: 306.6 kB / 1.11 GB, free: 42.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.7278, allocations: 160.3 kB / 1.11 GB, free: 42.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.728, allocations: 0.6078 MB / 1.111 GB, free: 42.13 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.7284, allocations: 187.4 kB / 1.111 GB, free: 42.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/0.7288, allocations: 367.8 kB / 1.111 GB, free: 41.98 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008556/0.7297, allocations: 0.6057 MB / 1.112 GB, free: 41.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.7297, allocations: 2.922 kB / 1.112 GB, free: 41.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001156/0.7308, allocations: 0.685 MB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.7309, allocations: 11.09 kB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7309, allocations: 2.656 kB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.7309, allocations: 7.438 kB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.7316, allocations: 156.9 kB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.7316, allocations: 11 kB / 1.113 GB, free: 41.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.7324, allocations: 51.67 kB / 1.113 GB, free: 41.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.7324, allocations: 27.22 kB / 1.113 GB, free: 41.71 MB / 1.01 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.000381/0.7328, allocations: 289.1 kB / 1.113 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.733, allocations: 103.2 kB / 1.113 GB, free: 41.51 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.7332, allocations: 103.3 kB / 1.113 GB, free: 41.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7332, allocations: 8.938 kB / 1.113 GB, free: 41.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.7332, allocations: 4.688 kB / 1.113 GB, free: 41.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009491/0.7342, allocations: 0.8365 MB / 1.114 GB, free: 41.04 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.7372, allocations: 1.804 MB / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7372, allocations: 0 / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008349/0.738, allocations: 175.7 kB / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.7381, allocations: 2.625 kB / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.7381, allocations: 17.72 kB / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.7381, allocations: 5.844 kB / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7381, allocations: 0 / 1.116 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.7396, allocations: 1.055 MB / 1.117 GB, free: 40.39 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.74, allocations: 166.8 kB / 1.117 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7402, allocations: 16.34 kB / 1.117 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.7407, allocations: 30.22 kB / 1.117 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7408, allocations: 45.17 kB / 1.117 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.7409, allocations: 26.98 kB / 1.117 GB, free: 40.34 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004302/0.7413, allocations: 408.8 kB / 1.118 GB, free: 40.21 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7413, allocations: 0.9688 kB / 1.118 GB, free: 40.21 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000985/0.7423, allocations: 377.6 kB / 1.118 GB, free: 40.16 MB / 1.01 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.0002469/0.7426, allocations: 178.4 kB / 1.118 GB, free: 40.06 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009615/0.7435, allocations: 0.5701 MB / 1.119 GB, free: 40.03 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7435, allocations: 2.062 kB / 1.119 GB, free: 40.03 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.744, allocations: 315.2 kB / 1.119 GB, free: 40.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.7464, allocations: 0.5406 MB / 1.12 GB, free: 39.95 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.7492, allocations: 1.86 MB / 1.122 GB, free: 39.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7497, allocations: 0.52 MB / 1.122 GB, free: 39.07 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0008213/0.7506, allocations: 224.3 kB / 1.122 GB, free: 39.03 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.7508, allocations: 74.48 kB / 1.122 GB, free: 39.02 MB / 1.01 GB Notification: Performance of SimCode: time 1.582e-06/0.7508, allocations: 0 / 1.122 GB, free: 39.02 MB / 1.01 GB Notification: Performance of Templates: time 0.02873/0.7795, allocations: 18.47 MB / 1.14 GB, free: 36.97 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] 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: 9.571918620029464]