Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008864/0.0008864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000837/0.000837, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8585/0.8585, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.614/1.614, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.407e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.6431/0.6431, allocations: 180.6 MB / 1.127 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007213/0.6503, allocations: 6.007 MB / 1.133 GB, free: 20.83 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007015/0.651, allocations: 50.09 kB / 1.133 GB, free: 20.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.6525, allocations: 0.6909 MB / 1.133 GB, free: 20.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004625/0.6571, allocations: 2.874 MB / 1.136 GB, free: 18.89 MB / 0.9948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.001334/0.6585, allocations: 0.7316 MB / 1.137 GB, free: 18.48 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002954/0.6614, allocations: 3.392 MB / 1.14 GB, free: 16.89 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009806/0.6624, allocations: 0.8185 MB / 1.141 GB, free: 16.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.6645, allocations: 1.701 MB / 1.143 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.666, allocations: 1.044 MB / 1.144 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.6662, allocations: 131.5 kB / 1.144 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.6692, allocations: 1.946 MB / 1.146 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004796/0.6697, allocations: 0.5678 MB / 1.146 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.6703, allocations: 0.5338 MB / 1.147 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003117/0.6734, allocations: 2.815 MB / 1.15 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6734, allocations: 5.547 kB / 1.15 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6734, allocations: 0 / 1.15 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.6735, allocations: 0 / 1.15 GB, free: 13.25 MB / 0.9948 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.002442/0.6759, allocations: 1.72 MB / 1.151 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.6759, allocations: 14.95 kB / 1.151 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.6761, allocations: 164 kB / 1.151 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6773, allocations: 355.1 kB / 1.152 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.6783, allocations: 0.8169 MB / 1.153 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.809e-05/0.6783, allocations: 79.08 kB / 1.153 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6784, allocations: 102.7 kB / 1.153 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6798, allocations: 1.392 MB / 1.154 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6798, allocations: 5.297 kB / 1.154 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.373e-05/0.6799, allocations: 45.23 kB / 1.154 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.68, allocations: 59.69 kB / 1.154 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.6813, allocations: 1.237 MB / 1.155 GB, free: 10.32 MB / 0.9948 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.003514/0.6849, allocations: 3.117 MB / 1.158 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.6858, allocations: 0.8355 MB / 1.159 GB, free: 8.496 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004945/0.6862, allocations: 493.3 kB / 1.16 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.6863, allocations: 13.78 kB / 1.16 GB, free: 8.312 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.6868, allocations: 0.6778 MB / 1.16 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/0.6868, allocations: 0 / 1.16 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.001313/0.6881, allocations: 1.166 MB / 1.162 GB, free: 7.383 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6882, allocations: 64.44 kB / 1.162 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.6886, allocations: 0.5766 MB / 1.162 GB, free: 7.055 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.6887, allocations: 41.77 kB / 1.162 GB, free: 7.012 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.6888, allocations: 468 kB / 1.163 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.689, allocations: 279 kB / 1.163 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.6891, allocations: 131.5 kB / 1.163 GB, free: 6.359 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.6892, allocations: 383.4 kB / 1.163 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.6895, allocations: 333 kB / 1.164 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.6898, allocations: 446.3 kB / 1.164 GB, free: 5.66 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.6906, allocations: 0.831 MB / 1.165 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6906, allocations: 5.219 kB / 1.165 GB, free: 5.219 MB / 0.9948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008893/0.6915, allocations: 0.9314 MB / 1.166 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6915, allocations: 6.625 kB / 1.166 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6915, allocations: 2.281 kB / 1.166 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.6915, allocations: 6.625 kB / 1.166 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.6919, allocations: 151.3 kB / 1.166 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6919, allocations: 22 kB / 1.166 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.6922, allocations: 63.73 kB / 1.166 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.6923, allocations: 24.09 kB / 1.166 GB, free: 4.746 MB / 0.9948 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.0002828/0.6925, allocations: 334.6 kB / 1.166 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.582e-05/0.6926, allocations: 84.67 kB / 1.167 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.6927, allocations: 106.2 kB / 1.167 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.6928, allocations: 8.156 kB / 1.167 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6928, allocations: 3.938 kB / 1.167 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007806/0.6935, allocations: 1.092 MB / 1.168 GB, free: 3.676 MB / 0.9948 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.001898/0.6954, allocations: 2.023 MB / 1.17 GB, free: 2.676 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6954, allocations: 0.8438 kB / 1.17 GB, free: 2.676 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.6959, allocations: 173 kB / 1.17 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6959, allocations: 3.438 kB / 1.17 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.6959, allocations: 20.53 kB / 1.17 GB, free: 2.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6959, allocations: 6.25 kB / 1.17 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6959, allocations: 5.125 kB / 1.17 GB, free: 2.645 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.6971, allocations: 1.359 MB / 1.171 GB, free: 2.008 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.6973, allocations: 177.6 kB / 1.171 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.6974, allocations: 18.67 kB / 1.171 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.6977, allocations: 22.5 kB / 1.171 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.6977, allocations: 44.25 kB / 1.171 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.6978, allocations: 22.47 kB / 1.171 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00031/0.6981, allocations: 415.9 kB / 1.172 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6981, allocations: 0 / 1.172 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006372/0.6987, allocations: 366.6 kB / 1.172 GB, free: 1.625 MB / 0.9948 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.001378/0.7001, allocations: 1.986 MB / 1.174 GB, free: 432 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.7008, allocations: 0.7666 MB / 1.175 GB, free: 152 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7008, allocations: 1.312 kB / 1.175 GB, free: 152 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.7012, allocations: 409.9 kB / 1.175 GB, free: 8 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.7026, allocations: 0.5923 MB / 1.176 GB, free: 15.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.7087, allocations: 7.175 MB / 1.183 GB, free: 12.11 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.7091, allocations: 0.5429 MB / 1.183 GB, free: 11.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005077/0.7096, allocations: 270.3 kB / 1.184 GB, free: 11.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.71, allocations: 377.7 kB / 1.184 GB, free: 11.62 MB / 1.01 GB Notification: Performance of SimCode: time 8.12e-07/0.71, allocations: 0 / 1.184 GB, free: 11.62 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.7444, allocations: 28.69 MB / 1.212 GB, free: 13.85 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.203, allocations: 8 kB / 1.212 GB, free: 13.84 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.149980024434626]