Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007313/0.007313, allocations: 109.6 kB / 15.74 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 194.9 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 66.33 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2708, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7985/1.069, allocations: 204.2 MB / 1.287 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0106/1.08, allocations: 6.372 MB / 1.293 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/1.082, allocations: 38.5 kB / 1.293 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/1.084, allocations: 0.7302 MB / 1.294 GB, free: 2.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007157/1.091, allocations: 2.672 MB / 1.296 GB, free: 2.859 MB / 1.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.002032/1.093, allocations: 0.7096 MB / 1.297 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004996/1.098, allocations: 3.28 MB / 1.3 GB, free: 2.824 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/1.1, allocations: 1.14 MB / 1.301 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/1.103, allocations: 1.27 MB / 1.303 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/1.105, allocations: 1.091 MB / 1.304 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002647/1.106, allocations: 128.7 kB / 1.304 GB, free: 2.715 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005849/1.112, allocations: 2.359 MB / 1.306 GB, free: 2.691 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/1.113, allocations: 0.5178 MB / 1.307 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/1.114, allocations: 0.7413 MB / 1.307 GB, free: 2.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005832/1.12, allocations: 2.792 MB / 1.31 GB, free: 2.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.12, allocations: 0 / 1.31 GB, free: 2.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.665e-06/1.12, allocations: 2.5 kB / 1.31 GB, free: 2.34 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.459e-05/1.12, allocations: 0 / 1.31 GB, free: 2.34 MB / 1.014 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.004861/1.125, allocations: 1.771 MB / 1.312 GB, free: 1.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.125, allocations: 9.438 kB / 1.312 GB, free: 1.508 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/1.125, allocations: 161 kB / 1.312 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/1.127, allocations: 349.2 kB / 1.312 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/1.129, allocations: 0.8679 MB / 1.313 GB, free: 1.082 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/1.129, allocations: 77.14 kB / 1.313 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.129, allocations: 108.9 kB / 1.313 GB, free: 1.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/1.131, allocations: 1.186 MB / 1.315 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.131, allocations: 3.766 kB / 1.315 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/1.131, allocations: 39.66 kB / 1.315 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/1.131, allocations: 64.23 kB / 1.315 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/1.133, allocations: 1.249 MB / 1.316 GB, free: 0.9727 MB / 1.014 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.006086/1.139, allocations: 5.109 MB / 1.321 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/1.141, allocations: 1.153 MB / 1.322 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/1.141, allocations: 0.5035 MB / 1.322 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-05/1.141, allocations: 19.06 kB / 1.322 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/1.142, allocations: 486.2 kB / 1.323 GB, free: 14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/1.142, allocations: 0 / 1.323 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.001799/1.144, allocations: 1.157 MB / 1.324 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/1.144, allocations: 59.75 kB / 1.324 GB, free: 13.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006195/1.145, allocations: 0.58 MB / 1.325 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/1.145, allocations: 40.58 kB / 1.325 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/1.145, allocations: 461 kB / 1.325 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/1.145, allocations: 274.9 kB / 1.325 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/1.145, allocations: 132.3 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.145, allocations: 392.6 kB / 1.326 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/1.146, allocations: 326.2 kB / 1.326 GB, free: 12.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/1.146, allocations: 455.8 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/1.147, allocations: 0.8231 MB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.147, allocations: 2.562 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001272/1.149, allocations: 0.9298 MB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.149, allocations: 5.75 kB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/1.149, allocations: 6.125 kB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.149, allocations: 8.438 kB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/1.149, allocations: 153.5 kB / 1.329 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.149, allocations: 8.625 kB / 1.329 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/1.15, allocations: 60.97 kB / 1.329 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/1.15, allocations: 34.12 kB / 1.329 GB, free: 12.6 MB / 1.029 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.00048/1.151, allocations: 330.1 kB / 1.329 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/1.151, allocations: 80.47 kB / 1.329 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/1.151, allocations: 111 kB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.151, allocations: 6 kB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/1.151, allocations: 2.969 kB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/1.152, allocations: 1.089 MB / 1.33 GB, free: 11.98 MB / 1.029 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.002778/1.155, allocations: 2.303 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.155, allocations: 0.75 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/1.156, allocations: 181 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1.156, allocations: 5.062 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/1.156, allocations: 21.14 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/1.156, allocations: 2.406 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.156, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/1.157, allocations: 1.352 MB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/1.158, allocations: 256.5 kB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.158, allocations: 19.91 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/1.159, allocations: 21.47 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/1.159, allocations: 48.94 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/1.159, allocations: 23.61 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004269/1.159, allocations: 411.4 kB / 1.335 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.159, allocations: 3.094 kB / 1.335 GB, free: 10.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008724/1.16, allocations: 370.4 kB / 1.335 GB, free: 10.27 MB / 1.029 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.001937/1.162, allocations: 1.974 MB / 1.337 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001046/1.163, allocations: 0.8 MB / 1.338 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.163, allocations: 2.281 kB / 1.338 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004568/1.163, allocations: 428.3 kB / 1.338 GB, free: 8.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.166, allocations: 0.5845 MB / 1.339 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008647/1.174, allocations: 7.254 MB / 1.346 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/1.175, allocations: 1.138 MB / 1.347 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009538/1.176, allocations: 277.6 kB / 1.347 GB, free: 3.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/1.177, allocations: 379.9 kB / 1.348 GB, free: 3.711 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/1.177, allocations: 2.562 kB / 1.348 GB, free: 3.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05235/1.229, allocations: 26.34 MB / 1.373 GB, free: 10.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/9.694, allocations: 19.67 kB / 1.373 GB, free: 10.05 MB / 1.045 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches