Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_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_10_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.001475/0.001475, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001596/0.001596, allocations: 191 kB / 17.29 MB, free: 5.516 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.42 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002276/0.2598, allocations: 1.28 MB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.2604, allocations: 302.9 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.2604, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.2604, allocations: 0 / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.2605, allocations: 7.922 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.2608, allocations: 91.64 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.2609, allocations: 35.84 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.2609, allocations: 7.938 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.261, allocations: 19.98 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.2611, allocations: 15.92 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.2611, allocations: 7.938 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2612, allocations: 79.91 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.2613, allocations: 3.938 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.2613, allocations: 15.92 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.2614, allocations: 75.78 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2614, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2615, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2615, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 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.0003491/0.2618, allocations: 355.3 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2619, allocations: 12.61 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.2619, allocations: 4.938 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.262, allocations: 172.3 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.262, allocations: 4.375 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.262, allocations: 384 / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/0.2621, allocations: 41.8 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2621, allocations: 0 / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2621, allocations: 4 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2622, allocations: 4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.2622, allocations: 11.94 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.2623, allocations: 161.7 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.2624, allocations: 30.58 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.2625, allocations: 12.92 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000984/0.2635, allocations: 1.179 MB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.2635, allocations: 38.5 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.2635, allocations: 3.938 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0001405/0.2636, allocations: 57.53 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.2637, allocations: 55.41 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.2637, allocations: 109.8 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2638, allocations: 25.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.2638, allocations: 80.14 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2638, allocations: 15.83 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.2639, allocations: 13.72 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.2639, allocations: 314.8 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.264, allocations: 4 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.264, allocations: 4 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.264, allocations: 24.84 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.264, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.995e-05/0.2641, allocations: 57.5 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2641, allocations: 4 kB / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2641, allocations: 0 / 1.023 GB, free: 4.676 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.2642, allocations: 4 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.761e-05/0.2642, allocations: 4 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2642, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.2642, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2642, allocations: 0 / 1.023 GB, free: 4.668 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.2643, allocations: 114.5 kB / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.2643, allocations: 7.844 kB / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.2645, allocations: 65.52 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2645, allocations: 384 / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2645, allocations: 0 / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2645, allocations: 0 / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.484e-05/0.2646, allocations: 161.7 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2646, allocations: 7.984 kB / 1.024 GB, free: 4.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.2646, allocations: 7.938 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2646, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2646, allocations: 4 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2646, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2647, allocations: 3.984 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.2647, allocations: 72.98 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.2648, allocations: 96.97 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2648, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.2649, allocations: 0 / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2649, allocations: 7.984 kB / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.2649, allocations: 0 / 1.024 GB, free: 4.023 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.2649, allocations: 87.28 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2649, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002108/0.2652, allocations: 27.98 kB / 1.024 GB, free: 3.91 MB / 0.795 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 (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.0001683/0.2653, allocations: 131.2 kB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.829e-05/0.2654, allocations: 20 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2654, allocations: 0 / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.2654, allocations: 15.92 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2657, allocations: 4 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.2659, allocations: 122.1 kB / 1.024 GB, free: 3.586 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2661, allocations: 0.6768 MB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.2662, allocations: 8.547 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.2662, allocations: 11.44 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.2662, allocations: 3.938 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of Templates: time 0.002737/0.2689, allocations: 0.7837 MB / 1.026 GB, free: 2.082 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches