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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="Buildings_latest_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.006766/0.006766, allocations: 104.5 kB / 15.74 MB, free: 6.047 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.001174/0.001174, allocations: 194.7 kB / 16.68 MB, free: 5.973 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.89 kB / 1.054 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9581, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2293/1.187, allocations: 204.2 MB / 1.407 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01121/1.199, allocations: 6.377 MB / 1.413 GB, free: 10.26 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/1.201, allocations: 35.81 kB / 1.413 GB, free: 10.23 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/1.203, allocations: 0.7343 MB / 1.414 GB, free: 9.488 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007713/1.211, allocations: 2.668 MB / 1.416 GB, free: 6.809 MB / 1.139 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.002259/1.213, allocations: 0.7125 MB / 1.417 GB, free: 6.098 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004885/1.218, allocations: 3.281 MB / 1.42 GB, free: 2.809 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/1.22, allocations: 1.14 MB / 1.421 GB, free: 1.641 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/1.223, allocations: 1.261 MB / 1.422 GB, free: 384 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/1.226, allocations: 1.099 MB / 1.424 GB, free: 15.28 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004943/1.226, allocations: 132 kB / 1.424 GB, free: 15.15 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005444/1.231, allocations: 2.358 MB / 1.426 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009681/1.232, allocations: 0.5143 MB / 1.426 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/1.234, allocations: 0.7391 MB / 1.427 GB, free: 11.53 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007657/1.242, allocations: 2.801 MB / 1.43 GB, free: 8.723 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/1.242, allocations: 0 / 1.43 GB, free: 8.723 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.028e-06/1.242, allocations: 0 / 1.43 GB, free: 8.723 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.338e-05/1.242, allocations: 0 / 1.43 GB, free: 8.723 MB / 1.154 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.006953/1.249, allocations: 1.769 MB / 1.432 GB, free: 6.898 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.249, allocations: 12.03 kB / 1.432 GB, free: 6.887 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000556/1.25, allocations: 160.6 kB / 1.432 GB, free: 6.719 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/1.253, allocations: 346.2 kB / 1.432 GB, free: 6.379 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/1.255, allocations: 0.8818 MB / 1.433 GB, free: 5.453 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/1.255, allocations: 70.02 kB / 1.433 GB, free: 5.383 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/1.255, allocations: 99.98 kB / 1.433 GB, free: 5.285 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/1.257, allocations: 1.195 MB / 1.434 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/1.257, allocations: 0 / 1.434 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/1.258, allocations: 43.98 kB / 1.434 GB, free: 4.016 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/1.258, allocations: 62.06 kB / 1.434 GB, free: 3.953 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/1.26, allocations: 1.246 MB / 1.436 GB, free: 2.699 MB / 1.154 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.007743/1.268, allocations: 5.102 MB / 1.441 GB, free: 13.14 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/1.269, allocations: 1.151 MB / 1.442 GB, free: 11.91 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007649/1.27, allocations: 0.5059 MB / 1.442 GB, free: 11.4 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.971e-05/1.27, allocations: 16.8 kB / 1.442 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007654/1.271, allocations: 492.1 kB / 1.443 GB, free: 10.89 MB / 1.17 GB Notification: Performance of pre-optimization done (n=76): time 3.377e-06/1.271, allocations: 4 kB / 1.443 GB, free: 10.88 MB / 1.17 GB Notification: Performance of matching and sorting (n=76): time 0.00208/1.273, allocations: 1.157 MB / 1.444 GB, free: 9.719 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.273, allocations: 60.06 kB / 1.444 GB, free: 9.648 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/1.274, allocations: 0.5782 MB / 1.444 GB, free: 9.062 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.385e-05/1.274, allocations: 41.7 kB / 1.445 GB, free: 9.016 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/1.274, allocations: 459.6 kB / 1.445 GB, free: 8.559 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.275, allocations: 264.1 kB / 1.445 GB, free: 8.297 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.275, allocations: 142.6 kB / 1.445 GB, free: 8.152 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.275, allocations: 378.8 kB / 1.446 GB, free: 7.773 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00049/1.276, allocations: 329.8 kB / 1.446 GB, free: 7.453 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/1.276, allocations: 452.8 kB / 1.446 GB, free: 6.977 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.277, allocations: 0.8232 MB / 1.447 GB, free: 6.113 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/1.277, allocations: 0 / 1.447 GB, free: 6.113 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001528/1.279, allocations: 0.9376 MB / 1.448 GB, free: 5.168 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/1.279, allocations: 11.94 kB / 1.448 GB, free: 5.156 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.279, allocations: 4 kB / 1.448 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/1.279, allocations: 8 kB / 1.448 GB, free: 5.145 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/1.28, allocations: 163.7 kB / 1.448 GB, free: 4.984 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/1.28, allocations: 7.938 kB / 1.448 GB, free: 4.977 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/1.281, allocations: 59.38 kB / 1.448 GB, free: 4.918 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/1.281, allocations: 24 kB / 1.448 GB, free: 4.895 MB / 1.17 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.0006185/1.281, allocations: 331 kB / 1.449 GB, free: 4.562 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.282, allocations: 86.98 kB / 1.449 GB, free: 4.477 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/1.282, allocations: 111.8 kB / 1.449 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.282, allocations: 4 kB / 1.449 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/1.282, allocations: 4 kB / 1.449 GB, free: 4.348 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001282/1.283, allocations: 1.089 MB / 1.45 GB, free: 3.176 MB / 1.17 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.003552/1.287, allocations: 2.303 MB / 1.452 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/1.287, allocations: 4.031 kB / 1.452 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008461/1.288, allocations: 171.8 kB / 1.452 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.288, allocations: 4 kB / 1.452 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/1.288, allocations: 16 kB / 1.452 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/1.288, allocations: 4 kB / 1.452 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.288, allocations: 3.938 kB / 1.452 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.29, allocations: 1.359 MB / 1.454 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/1.29, allocations: 260 kB / 1.454 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.29, allocations: 12 kB / 1.454 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/1.291, allocations: 23.98 kB / 1.454 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/1.291, allocations: 40.59 kB / 1.454 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/1.291, allocations: 27.94 kB / 1.454 GB, free: 14.83 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005567/1.292, allocations: 415 kB / 1.455 GB, free: 14.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.8e-07/1.292, allocations: 0 / 1.455 GB, free: 14.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001084/1.293, allocations: 371.1 kB / 1.455 GB, free: 14.07 MB / 1.186 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.002253/1.295, allocations: 1.969 MB / 1.457 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00123/1.296, allocations: 0.8059 MB / 1.458 GB, free: 11.26 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.296, allocations: 4.688 kB / 1.458 GB, free: 11.25 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/1.297, allocations: 427.5 kB / 1.458 GB, free: 10.84 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/1.299, allocations: 0.5898 MB / 1.459 GB, free: 10.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009931/1.309, allocations: 7.237 MB / 1.466 GB, free: 2.855 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/1.31, allocations: 1.147 MB / 1.467 GB, free: 1.68 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001031/1.311, allocations: 271.1 kB / 1.467 GB, free: 1.41 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/1.312, allocations: 379.3 kB / 1.467 GB, free: 1.039 MB / 1.186 GB Notification: Performance of SimCode: time 1.123e-06/1.312, allocations: 0 / 1.467 GB, free: 1.039 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05648/1.368, allocations: 26.34 MB / 1.493 GB, free: 7.008 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/10.52, allocations: 8.484 kB / 1.493 GB, free: 7.004 MB / 1.217 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ZonalFlow.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches