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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.456/2.456, allocations: 393.5 MB / 408.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001298, allocations: 183.8 kB / 0.4902 GB, free: 2.074 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.812/1.812, allocations: 223.2 MB / 0.7992 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 96.28 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005664/0.0005663, allocations: 10.25 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3492, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.818/5.168, allocations: 1.923 GB / 3.152 GB, free: 30.35 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/5.168, allocations: 90.78 kB / 3.152 GB, free: 30.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: The standard says that initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition useDefaultProperties and initial(). Notification: Performance of FrontEnd - DAE generated: time 2.826/7.993, allocations: 0.6161 GB / 3.768 GB, free: 292.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/7.994, allocations: 0 / 3.768 GB, free: 292.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001249/7.994, allocations: 21.98 kB / 3.768 GB, free: 292.7 MB / 1.167 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.00637/8, allocations: 1.679 MB / 3.77 GB, free: 292 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.532e-05/8, allocations: 15.2 kB / 3.77 GB, free: 292 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/8.003, allocations: 336.5 kB / 3.77 GB, free: 292 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/8.005, allocations: 0.862 MB / 3.771 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/8.005, allocations: 79.89 kB / 3.771 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/8.006, allocations: 105 kB / 3.771 GB, free: 291.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/8.008, allocations: 1.117 MB / 3.772 GB, free: 291.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/8.008, allocations: 0 / 3.772 GB, free: 291.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/8.009, allocations: 41.98 kB / 3.772 GB, free: 291.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/8.009, allocations: 60.78 kB / 3.773 GB, free: 291.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/8.011, allocations: 1.179 MB / 3.774 GB, free: 291.6 MB / 1.167 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.007088/8.018, allocations: 5.052 MB / 3.779 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/8.019, allocations: 0.9708 MB / 3.78 GB, free: 288.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.631e-05/8.019, allocations: 19.44 kB / 3.78 GB, free: 288.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006731/8.02, allocations: 489.5 kB / 3.78 GB, free: 288.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 5.27e-06/8.02, allocations: 2.875 kB / 3.78 GB, free: 288.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.001939/8.022, allocations: 1.182 MB / 3.781 GB, free: 288.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/8.022, allocations: 62.94 kB / 3.781 GB, free: 288.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007034/8.023, allocations: 0.5078 MB / 3.782 GB, free: 288.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-05/8.023, allocations: 40.11 kB / 3.782 GB, free: 288.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/8.023, allocations: 459.8 kB / 3.782 GB, free: 288.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/8.023, allocations: 273.5 kB / 3.783 GB, free: 288.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/8.023, allocations: 13.97 kB / 3.783 GB, free: 288.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001205/8.023, allocations: 386.4 kB / 3.783 GB, free: 287.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/8.024, allocations: 337.2 kB / 3.783 GB, free: 287.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/8.024, allocations: 454 kB / 3.784 GB, free: 287.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005333/8.025, allocations: 407.3 kB / 3.784 GB, free: 287.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/8.025, allocations: 0 / 3.784 GB, free: 287.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001286/8.026, allocations: 0.9422 MB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/8.026, allocations: 6.562 kB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/8.026, allocations: 7.094 kB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/8.026, allocations: 7.406 kB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/8.027, allocations: 152.2 kB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/8.027, allocations: 7.281 kB / 3.785 GB, free: 287.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/8.028, allocations: 163.9 kB / 3.785 GB, free: 287.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/8.028, allocations: 25.97 kB / 3.785 GB, free: 287.6 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005706/8.029, allocations: 337.4 kB / 3.786 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/8.029, allocations: 81.56 kB / 3.786 GB, free: 287.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/8.029, allocations: 109.7 kB / 3.786 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/8.029, allocations: 7.438 kB / 3.786 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/8.029, allocations: 5.062 kB / 3.786 GB, free: 287.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/8.03, allocations: 1.104 MB / 3.787 GB, free: 287 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/8.034, allocations: 2.167 MB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/8.034, allocations: 0 / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/8.034, allocations: 173.5 kB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/8.034, allocations: 3.781 kB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/8.034, allocations: 17.12 kB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/8.034, allocations: 6.094 kB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/8.034, allocations: 3.938 kB / 3.789 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/8.036, allocations: 1.383 MB / 3.791 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/8.037, allocations: 256.5 kB / 3.791 GB, free: 286.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/8.037, allocations: 15.88 kB / 3.791 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/8.038, allocations: 101.5 kB / 3.791 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/8.038, allocations: 46.55 kB / 3.791 GB, free: 286 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/8.038, allocations: 26.7 kB / 3.791 GB, free: 286 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004395/8.038, allocations: 409.5 kB / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.038, allocations: 0 / 3.791 GB, free: 285.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001545/8.04, allocations: 0.5127 MB / 3.792 GB, free: 285.7 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/8.042, allocations: 1.616 MB / 3.793 GB, free: 285.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001128/8.043, allocations: 0.8151 MB / 3.794 GB, free: 284.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/8.043, allocations: 0 / 3.794 GB, free: 284.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004631/8.044, allocations: 432.3 kB / 3.795 GB, free: 284.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/8.046, allocations: 0.5455 MB / 3.795 GB, free: 284.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/8.05, allocations: 2.71 MB / 3.798 GB, free: 283.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/8.05, allocations: 1.155 MB / 3.799 GB, free: 282.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001149/8.052, allocations: 280.2 kB / 3.799 GB, free: 282.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/8.052, allocations: 77.36 kB / 3.799 GB, free: 282.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/8.052, allocations: 2.5 kB / 3.799 GB, free: 282.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05035/8.102, allocations: 37.06 MB / 3.836 GB, free: 252.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches