Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 111.6 kB / 16.41 MB, free: 6.504 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.00177/0.00177, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.609/1.609, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.91 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9556/0.9575, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.258/1.216, allocations: 204.2 MB / 1.367 GB, free: 6.93 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01293/1.229, allocations: 6.379 MB / 1.373 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/1.231, allocations: 39.81 kB / 1.373 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/1.233, allocations: 0.7655 MB / 1.374 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008697/1.242, allocations: 2.763 MB / 1.376 GB, free: 12.95 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.002455/1.244, allocations: 0.7154 MB / 1.377 GB, free: 12.24 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005743/1.25, allocations: 3.276 MB / 1.38 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/1.252, allocations: 1.137 MB / 1.381 GB, free: 7.797 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003156/1.255, allocations: 1.294 MB / 1.383 GB, free: 6.5 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/1.258, allocations: 1.107 MB / 1.384 GB, free: 5.395 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002718/1.259, allocations: 128 kB / 1.384 GB, free: 5.27 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005842/1.264, allocations: 2.354 MB / 1.386 GB, free: 2.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008058/1.265, allocations: 0.5104 MB / 1.387 GB, free: 2.398 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/1.267, allocations: 0.743 MB / 1.387 GB, free: 1.652 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006315/1.273, allocations: 2.811 MB / 1.39 GB, free: 14.84 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.273, allocations: 0 / 1.39 GB, free: 14.84 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.675e-06/1.273, allocations: 0 / 1.39 GB, free: 14.84 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.406e-05/1.273, allocations: 0 / 1.39 GB, free: 14.84 MB / 1.123 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.004832/1.278, allocations: 1.805 MB / 1.392 GB, free: 12.97 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.278, allocations: 16.88 kB / 1.392 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/1.28, allocations: 350.9 kB / 1.392 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.282, allocations: 0.8824 MB / 1.393 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/1.282, allocations: 74.02 kB / 1.393 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/1.282, allocations: 103.9 kB / 1.393 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/1.284, allocations: 1.195 MB / 1.394 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/1.284, allocations: 4 kB / 1.394 GB, free: 10.28 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.285, allocations: 43.98 kB / 1.395 GB, free: 10.24 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-05/1.285, allocations: 58.08 kB / 1.395 GB, free: 10.18 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/1.287, allocations: 1.246 MB / 1.396 GB, free: 8.926 MB / 1.123 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.008283/1.295, allocations: 5.11 MB / 1.401 GB, free: 3.359 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.297, allocations: 1.156 MB / 1.402 GB, free: 2.121 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/1.298, allocations: 0.5033 MB / 1.402 GB, free: 1.617 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/1.298, allocations: 20.78 kB / 1.402 GB, free: 1.598 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009029/1.299, allocations: 484.2 kB / 1.403 GB, free: 1.109 MB / 1.123 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/1.299, allocations: 4 kB / 1.403 GB, free: 1.105 MB / 1.123 GB Notification: Performance of matching and sorting (n=76): time 0.00236/1.301, allocations: 1.165 MB / 1.404 GB, free: 15.94 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/1.301, allocations: 60.06 kB / 1.404 GB, free: 15.87 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/1.302, allocations: 0.5744 MB / 1.405 GB, free: 15.29 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.302, allocations: 37.7 kB / 1.405 GB, free: 15.24 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/1.303, allocations: 472.6 kB / 1.405 GB, free: 14.77 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/1.303, allocations: 281.5 kB / 1.405 GB, free: 14.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/1.303, allocations: 138.6 kB / 1.406 GB, free: 14.35 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002416/1.304, allocations: 382.8 kB / 1.406 GB, free: 13.97 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/1.304, allocations: 329.8 kB / 1.406 GB, free: 13.65 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/1.305, allocations: 452.8 kB / 1.407 GB, free: 13.17 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.306, allocations: 0.8232 MB / 1.407 GB, free: 12.31 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.306, allocations: 3.938 kB / 1.407 GB, free: 12.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001705/1.308, allocations: 0.9419 MB / 1.408 GB, free: 11.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/1.308, allocations: 8 kB / 1.408 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.308, allocations: 3.938 kB / 1.408 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/1.308, allocations: 8 kB / 1.408 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007285/1.309, allocations: 151.8 kB / 1.409 GB, free: 11.19 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/1.309, allocations: 11.94 kB / 1.409 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/1.31, allocations: 63.5 kB / 1.409 GB, free: 11.12 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/1.31, allocations: 24 kB / 1.409 GB, free: 11.09 MB / 1.139 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.000634/1.31, allocations: 333.8 kB / 1.409 GB, free: 10.76 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.31, allocations: 79.53 kB / 1.409 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/1.311, allocations: 111.7 kB / 1.409 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.311, allocations: 8 kB / 1.409 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.311, allocations: 0 / 1.409 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/1.312, allocations: 1.097 MB / 1.41 GB, free: 9.375 MB / 1.139 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.004015/1.316, allocations: 2.307 MB / 1.412 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.316, allocations: 4 kB / 1.412 GB, free: 6.973 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/1.317, allocations: 171.8 kB / 1.413 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1.317, allocations: 4 kB / 1.413 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/1.317, allocations: 19.98 kB / 1.413 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/1.317, allocations: 4 kB / 1.413 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.317, allocations: 3.984 kB / 1.413 GB, free: 6.773 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.32, allocations: 1.356 MB / 1.414 GB, free: 5.398 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/1.32, allocations: 256.4 kB / 1.414 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.32, allocations: 12 kB / 1.414 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/1.321, allocations: 29.05 kB / 1.414 GB, free: 5.09 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.321, allocations: 44.59 kB / 1.414 GB, free: 5.043 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/1.321, allocations: 27.98 kB / 1.414 GB, free: 5.016 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005838/1.322, allocations: 411.1 kB / 1.415 GB, free: 4.617 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.322, allocations: 4 kB / 1.415 GB, free: 4.613 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001052/1.323, allocations: 371.2 kB / 1.415 GB, free: 4.25 MB / 1.139 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.0003334/1.323, allocations: 187 kB / 1.415 GB, free: 4.059 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001386/1.324, allocations: 0.798 MB / 1.416 GB, free: 3.262 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.324, allocations: 0 / 1.416 GB, free: 3.262 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005996/1.325, allocations: 431.5 kB / 1.416 GB, free: 2.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/1.328, allocations: 0.592 MB / 1.417 GB, free: 2.258 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/1.332, allocations: 2.204 MB / 1.419 GB, free: 24 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/1.333, allocations: 1.136 MB / 1.42 GB, free: 14.86 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001004/1.334, allocations: 267.2 kB / 1.421 GB, free: 14.6 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/1.334, allocations: 75.42 kB / 1.421 GB, free: 14.52 MB / 1.154 GB Notification: Performance of SimCode: time 9.01e-07/1.334, allocations: 4 kB / 1.421 GB, free: 14.52 MB / 1.154 GB Notification: Performance of Templates: time 1.096/2.43, allocations: 19.35 MB / 1.44 GB, free: 11.41 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches