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.001935/0.001935, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0017/0.0017, allocations: 187.9 kB / 16.25 MB, free: 6.641 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.513/1.513, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.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.799/2.799, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7046, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.3503/1.055, allocations: 201.6 MB / 1.214 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01956/1.074, allocations: 6.34 MB / 1.22 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/1.077, allocations: 35.81 kB / 1.22 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003519/1.08, allocations: 0.6494 MB / 1.221 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/1.094, allocations: 2.524 MB / 1.223 GB, free: 14.83 MB / 0.9825 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.003253/1.097, allocations: 0.6436 MB / 1.224 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007401/1.105, allocations: 3.274 MB / 1.227 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/1.108, allocations: 1.117 MB / 1.228 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/1.112, allocations: 1.261 MB / 1.229 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004237/1.116, allocations: 1.172 MB / 1.23 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004013/1.117, allocations: 128 kB / 1.23 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008357/1.125, allocations: 2.47 MB / 1.233 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00135/1.127, allocations: 0.5182 MB / 1.233 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/1.128, allocations: 0.7469 MB / 1.234 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007657/1.136, allocations: 2.926 MB / 1.237 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/1.136, allocations: 4 kB / 1.237 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/1.136, allocations: 0 / 1.237 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.358e-05/1.136, allocations: 0 / 1.237 GB, free: 0.5234 MB / 0.9825 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.00652/1.143, allocations: 1.765 MB / 1.239 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.143, allocations: 11.98 kB / 1.239 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/1.147, allocations: 350.1 kB / 1.239 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/1.149, allocations: 0.8428 MB / 1.24 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.586e-05/1.149, allocations: 74.02 kB / 1.24 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/1.149, allocations: 104 kB / 1.24 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/1.153, allocations: 1.195 MB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.153, allocations: 0 / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/1.153, allocations: 44 kB / 1.241 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/1.153, allocations: 62.06 kB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/1.157, allocations: 1.242 MB / 1.242 GB, free: 10.7 MB / 0.9981 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.01267/1.17, allocations: 5.081 MB / 1.247 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002838/1.173, allocations: 1.153 MB / 1.249 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1.174, allocations: 0.5012 MB / 1.249 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/1.174, allocations: 16.78 kB / 1.249 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/1.176, allocations: 488.2 kB / 1.25 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.999e-06/1.176, allocations: 0 / 1.25 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.003783/1.179, allocations: 1.161 MB / 1.251 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.179, allocations: 60.06 kB / 1.251 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.181, allocations: 0.5744 MB / 1.251 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.181, allocations: 41.7 kB / 1.251 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/1.181, allocations: 463.6 kB / 1.252 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/1.182, allocations: 272 kB / 1.252 GB, free: 340 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003429/1.182, allocations: 126.7 kB / 1.252 GB, free: 208 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.6255/1.808, allocations: 382.8 kB / 1.252 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/1.809, allocations: 332.6 kB / 1.253 GB, free: 234.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005703/1.809, allocations: 444.4 kB / 1.253 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.81, allocations: 0.8201 MB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/1.81, allocations: 0.8125 kB / 1.254 GB, free: 234.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001535/1.812, allocations: 0.9402 MB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.812, allocations: 8.562 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.812, allocations: 3.344 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.812, allocations: 10.73 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.813, allocations: 151.9 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/1.813, allocations: 10.73 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.814, allocations: 152.2 kB / 1.255 GB, free: 233.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/1.814, allocations: 28.81 kB / 1.255 GB, free: 233.7 MB / 0.9981 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.0005013/1.814, allocations: 334.3 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/1.814, allocations: 82.75 kB / 1.256 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/1.815, allocations: 110.6 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.815, allocations: 8.406 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.815, allocations: 5.219 kB / 1.256 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/1.816, allocations: 1.094 MB / 1.257 GB, free: 232.7 MB / 0.9981 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.003284/1.819, allocations: 2.31 MB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.819, allocations: 0.75 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008705/1.82, allocations: 172.2 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.82, allocations: 7.094 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/1.82, allocations: 19.8 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/1.82, allocations: 3.25 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.82, allocations: 0.7812 kB / 1.259 GB, free: 231.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/1.822, allocations: 1.352 MB / 1.261 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/1.823, allocations: 254.9 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.823, allocations: 16.33 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/1.824, allocations: 102.7 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.824, allocations: 42.47 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/1.824, allocations: 27.17 kB / 1.261 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005212/1.824, allocations: 411.4 kB / 1.261 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.824, allocations: 1.125 kB / 1.261 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009799/1.825, allocations: 366.1 kB / 1.262 GB, free: 230.4 MB / 0.9981 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.0002775/1.826, allocations: 182.1 kB / 1.262 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002179/1.828, allocations: 1.036 MB / 1.263 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.828, allocations: 4.938 kB / 1.263 GB, free: 230 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/1.828, allocations: 424.9 kB / 1.263 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.831, allocations: 0.6019 MB / 1.264 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/1.834, allocations: 2.631 MB / 1.267 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006323/1.835, allocations: 1.139 MB / 1.268 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001098/1.836, allocations: 267.9 kB / 1.268 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/1.836, allocations: 77.25 kB / 1.268 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.836, allocations: 0 / 1.268 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02931/1.866, allocations: 18.98 MB / 1.287 GB, free: 218.4 MB / 0.9981 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches