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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007262/0.007262, allocations: 96.75 kB / 15.73 MB, free: 6.031 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.001714/0.001714, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.631/2.631, allocations: 469.8 MB / 0.7425 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.11 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3037, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8037/1.107, allocations: 204.7 MB / 1.42 GB, free: 4.762 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01085/1.118, allocations: 6.379 MB / 1.427 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/1.12, allocations: 42 kB / 1.427 GB, free: 15.54 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/1.122, allocations: 0.7589 MB / 1.427 GB, free: 14.94 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.00654/1.129, allocations: 2.772 MB / 1.43 GB, free: 12.83 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.00183/1.131, allocations: 0.72 MB / 1.431 GB, free: 12.26 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004132/1.135, allocations: 3.272 MB / 1.434 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/1.136, allocations: 0.9396 MB / 1.435 GB, free: 9.699 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.139, allocations: 1.29 MB / 1.436 GB, free: 8.406 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/1.141, allocations: 1.093 MB / 1.437 GB, free: 7.316 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/1.141, allocations: 128 kB / 1.437 GB, free: 7.191 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/1.146, allocations: 2.362 MB / 1.44 GB, free: 4.824 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006188/1.146, allocations: 0.5336 MB / 1.44 GB, free: 4.289 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.147, allocations: 0.7391 MB / 1.441 GB, free: 3.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/1.152, allocations: 2.807 MB / 1.444 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.152, allocations: 0 / 1.444 GB, free: 0.7344 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.303e-06/1.152, allocations: 3.938 kB / 1.444 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.818e-05/1.152, allocations: 0 / 1.444 GB, free: 0.7305 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.003919/1.156, allocations: 1.802 MB / 1.446 GB, free: 14.87 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/1.156, allocations: 8.031 kB / 1.446 GB, free: 14.86 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/1.158, allocations: 355.7 kB / 1.446 GB, free: 14.51 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.159, allocations: 0.8822 MB / 1.447 GB, free: 13.59 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.645e-05/1.159, allocations: 81.95 kB / 1.447 GB, free: 13.51 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/1.16, allocations: 107.9 kB / 1.447 GB, free: 13.4 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.161, allocations: 1.191 MB / 1.448 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/1.161, allocations: 0 / 1.448 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/1.162, allocations: 47.98 kB / 1.448 GB, free: 12.13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/1.162, allocations: 62.02 kB / 1.448 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/1.164, allocations: 1.246 MB / 1.449 GB, free: 10.82 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 preOpt removeSimpleEquations (simulation): time 0.006377/1.17, allocations: 5.107 MB / 1.454 GB, free: 5.254 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/1.171, allocations: 1.132 MB / 1.455 GB, free: 4.039 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/1.172, allocations: 491.4 kB / 1.456 GB, free: 3.559 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/1.172, allocations: 16.78 kB / 1.456 GB, free: 3.543 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007232/1.173, allocations: 488.2 kB / 1.456 GB, free: 3.055 MB / 1.139 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/1.173, allocations: 0 / 1.456 GB, free: 3.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=76): time 0.001969/1.175, allocations: 1.165 MB / 1.458 GB, free: 1.883 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/1.175, allocations: 60.06 kB / 1.458 GB, free: 1.812 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/1.176, allocations: 0.5783 MB / 1.458 GB, free: 1.227 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/1.176, allocations: 41.7 kB / 1.458 GB, free: 1.18 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/1.176, allocations: 468.7 kB / 1.459 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/1.176, allocations: 285.5 kB / 1.459 GB, free: 444 kB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/1.176, allocations: 130.6 kB / 1.459 GB, free: 304 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.177, allocations: 386.8 kB / 1.459 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/1.177, allocations: 333.8 kB / 1.46 GB, free: 15.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/1.178, allocations: 444.7 kB / 1.46 GB, free: 15.12 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.179, allocations: 0.8233 MB / 1.461 GB, free: 14.25 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.179, allocations: 4 kB / 1.461 GB, free: 14.25 MB / 1.154 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001394/1.18, allocations: 0.9339 MB / 1.462 GB, free: 13.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.18, allocations: 4.344 kB / 1.462 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.18, allocations: 16.55 kB / 1.462 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.18, allocations: 7.938 kB / 1.462 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/1.181, allocations: 155.8 kB / 1.462 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/1.181, allocations: 8 kB / 1.462 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/1.182, allocations: 55.52 kB / 1.462 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/1.182, allocations: 32.55 kB / 1.462 GB, free: 13.04 MB / 1.154 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.0004403/1.182, allocations: 330.7 kB / 1.462 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/1.182, allocations: 83.53 kB / 1.463 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/1.182, allocations: 111.7 kB / 1.463 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/1.182, allocations: 8 kB / 1.463 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.182, allocations: 0 / 1.463 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/1.184, allocations: 1.101 MB / 1.464 GB, free: 11.31 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 postOpt removeSimpleEquations (simulation): time 0.003007/1.187, allocations: 2.31 MB / 1.466 GB, free: 8.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.187, allocations: 0 / 1.466 GB, free: 8.91 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/1.188, allocations: 179.8 kB / 1.466 GB, free: 8.734 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/1.188, allocations: 4 kB / 1.466 GB, free: 8.73 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/1.188, allocations: 16 kB / 1.466 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/1.188, allocations: 0 / 1.466 GB, free: 8.715 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.188, allocations: 4 kB / 1.466 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/1.189, allocations: 1.36 MB / 1.468 GB, free: 7.332 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/1.19, allocations: 256.4 kB / 1.468 GB, free: 7.062 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.19, allocations: 16 kB / 1.468 GB, free: 7.047 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/1.19, allocations: 21.48 kB / 1.468 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/1.191, allocations: 44.59 kB / 1.468 GB, free: 6.984 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/1.191, allocations: 27.98 kB / 1.468 GB, free: 6.957 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00047/1.191, allocations: 407.1 kB / 1.468 GB, free: 6.562 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 0 / 1.468 GB, free: 6.562 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008394/1.192, allocations: 371.3 kB / 1.469 GB, free: 6.199 MB / 1.154 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.0002545/1.192, allocations: 184.7 kB / 1.469 GB, free: 6.012 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.193, allocations: 0.7707 MB / 1.47 GB, free: 5.242 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.193, allocations: 0 / 1.47 GB, free: 5.242 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/1.194, allocations: 411.4 kB / 1.47 GB, free: 4.84 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.196, allocations: 0.5925 MB / 1.471 GB, free: 4.273 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/1.199, allocations: 2.205 MB / 1.473 GB, free: 2.035 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006964/1.2, allocations: 1.14 MB / 1.474 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008636/1.201, allocations: 275.7 kB / 1.474 GB, free: 0.5977 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/1.201, allocations: 75.42 kB / 1.474 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of SimCode: time 9.52e-07/1.201, allocations: 0 / 1.474 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of Templates: time 0.0309/1.232, allocations: 19.37 MB / 1.493 GB, free: 13.39 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) 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) Reference file matches