Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001757/0.001757, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6653 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7459, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001061/0.747, allocations: 1.005 MB / 0.9545 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.7474, allocations: 275.4 kB / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.7474, allocations: 0 / 0.9547 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.7474, allocations: 3.938 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.757e-05/0.7475, allocations: 17.22 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.7477, allocations: 59.25 kB / 0.9548 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.217e-05/0.7478, allocations: 20.78 kB / 0.9548 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.7478, allocations: 5.906 kB / 0.9548 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.748, allocations: 34.45 kB / 0.9549 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.385e-05/0.748, allocations: 13.39 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.7481, allocations: 1.344 kB / 0.9549 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.7482, allocations: 77.75 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.7482, allocations: 5.188 kB / 0.955 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.7482, allocations: 31.95 kB / 0.955 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.7484, allocations: 53.48 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7484, allocations: 1.188 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7484, allocations: 0 / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.7484, allocations: 0 / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002777/0.7487, allocations: 346.5 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.7487, allocations: 8.562 kB / 0.9554 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.7488, allocations: 10.73 kB / 0.9554 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.7488, allocations: 168.5 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.7489, allocations: 1.5 kB / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.7489, allocations: 0 / 0.9556 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.749, allocations: 43.7 kB / 0.9556 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.749, allocations: 3.938 kB / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.749, allocations: 1.219 kB / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.749, allocations: 0 / 0.9556 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/0.749, allocations: 15 kB / 0.9556 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.7492, allocations: 159.2 kB / 0.9558 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.7493, allocations: 34.77 kB / 0.9558 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008536/0.7501, allocations: 1.188 MB / 0.957 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.7501, allocations: 39.83 kB / 0.957 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.7502, allocations: 0 / 0.957 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.7503, allocations: 51.48 kB / 0.9571 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.7503, allocations: 56.48 kB / 0.9571 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.541e-05/0.7504, allocations: 106.2 kB / 0.9572 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.7504, allocations: 26.98 kB / 0.9572 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.7504, allocations: 80.14 kB / 0.9573 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.7505, allocations: 9.781 kB / 0.9573 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.7505, allocations: 4 kB / 0.9573 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.7505, allocations: 316.2 kB / 0.9576 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.7506, allocations: 2.938 kB / 0.9576 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.7506, allocations: 10.52 kB / 0.9576 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.842e-05/0.7506, allocations: 3.469 kB / 0.9576 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.7506, allocations: 0 / 0.9576 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.247e-05/0.7507, allocations: 49.77 kB / 0.9577 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.7507, allocations: 6.156 kB / 0.9577 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7507, allocations: 3.984 kB / 0.9577 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.7507, allocations: 5.125 kB / 0.9577 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.511e-05/0.7508, allocations: 5.25 kB / 0.9577 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7508, allocations: 0 / 0.9577 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.7508, allocations: 1.344 kB / 0.9577 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.7508, allocations: 1.156 kB / 0.9577 GB, free: 3.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.535e-05/0.7509, allocations: 111.4 kB / 0.9578 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.7509, allocations: 6.219 kB / 0.9578 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.751, allocations: 66.89 kB / 0.9579 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.751, allocations: 1.312 kB / 0.9579 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7511, allocations: 0 / 0.9579 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7511, allocations: 1.5 kB / 0.9579 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.881e-05/0.7511, allocations: 163.2 kB / 0.9581 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7512, allocations: 0 / 0.9581 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.7512, allocations: 9.656 kB / 0.9581 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7512, allocations: 384 / 0.9581 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7512, allocations: 1.375 kB / 0.9581 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.7512, allocations: 7.938 kB / 0.9581 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7512, allocations: 320 / 0.9581 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.7513, allocations: 82.59 kB / 0.9581 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.7514, allocations: 88.59 kB / 0.9582 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.7514, allocations: 0 / 0.9582 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.933e-05/0.7514, allocations: 1.312 kB / 0.9582 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.7514, allocations: 1.406 kB / 0.9582 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.7515, allocations: 5.891 kB / 0.9582 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.7515, allocations: 93.08 kB / 0.9583 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7515, allocations: 0 / 0.9583 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002195/0.7517, allocations: 23.81 kB / 0.9584 GB, free: 3.195 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001894/0.7519, allocations: 129 kB / 0.9585 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.752, allocations: 14.19 kB / 0.9585 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.752, allocations: 0 / 0.9585 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.747e-05/0.752, allocations: 9.875 kB / 0.9585 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.7522, allocations: 14.09 kB / 0.9585 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.7525, allocations: 133.7 kB / 0.9586 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.7526, allocations: 0.6848 MB / 0.9593 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.355e-05/0.7527, allocations: 6.812 kB / 0.9593 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.7527, allocations: 10.09 kB / 0.9593 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of SimCode: time 1.143e-06/0.7527, allocations: 3.938 kB / 0.9593 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.002849/0.7555, allocations: 0.7558 MB / 0.9601 GB, free: 1.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches