Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007073/0.007079, allocations: 104.7 kB / 15.74 MB, free: 6.035 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.001562/0.001562, allocations: 200.3 kB / 16.68 MB, free: 5.953 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8443, allocations: 140.4 MB / 1.088 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00243/0.8468, allocations: 1.258 MB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.8471, allocations: 113.8 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.8472, allocations: 0 / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.8472, allocations: 4.594 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.8473, allocations: 5.672 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.8475, allocations: 46.16 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.8476, allocations: 15.7 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.8476, allocations: 1.922 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.8477, allocations: 4.109 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.075e-05/0.8477, allocations: 16.05 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.8478, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.8479, allocations: 47.62 kB / 1.089 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.8479, allocations: 5.703 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.8479, allocations: 2.812 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.8481, allocations: 38.45 kB / 1.089 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8481, allocations: 5.188 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8481, allocations: 0 / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.8481, allocations: 0 / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003923/0.8485, allocations: 327.1 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.8486, allocations: 10.03 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.8486, allocations: 2.75 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.8487, allocations: 174.7 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8487, allocations: 1.344 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.8488, allocations: 5.516 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.8489, allocations: 46.36 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8489, allocations: 0 / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.8489, allocations: 0 / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.8489, allocations: 1.312 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.723e-05/0.8489, allocations: 9.141 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.8491, allocations: 147 kB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.8492, allocations: 25.36 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.8492, allocations: 16.22 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/0.8498, allocations: 0.61 MB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.8499, allocations: 31.31 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.512e-06/0.8499, allocations: 3.938 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.85, allocations: 41.8 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.85, allocations: 51.97 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.8501, allocations: 104.4 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.8501, allocations: 25.7 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.8501, allocations: 81.95 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.8502, allocations: 9.688 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.8502, allocations: 11.72 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.8503, allocations: 313.4 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.8503, allocations: 1.938 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.8503, allocations: 3.062 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.282e-05/0.8503, allocations: 26.67 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.8503, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.83e-05/0.8504, allocations: 44.61 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8504, allocations: 5.953 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.8504, allocations: 0 / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.8505, allocations: 0.5156 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.8505, allocations: 3.797 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8505, allocations: 5.297 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.8505, allocations: 0.5625 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.8506, allocations: 5.094 kB / 1.092 GB, free: 2.469 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 4.873e-05/0.8506, allocations: 107.3 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.8506, allocations: 6.172 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.012e-05/0.8507, allocations: 47.73 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.8507, allocations: 1.656 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.8507, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.8507, allocations: 0.5625 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.8508, allocations: 152.5 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8508, allocations: 3.969 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.8509, allocations: 7.625 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.8509, allocations: 1.062 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.8509, allocations: 0.7969 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8509, allocations: 1.125 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8509, allocations: 0 / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.851, allocations: 69.95 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.851, allocations: 82.53 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.851, allocations: 5.422 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.851, allocations: 7.938 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.851, allocations: 1.344 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.8511, allocations: 5.562 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.368e-05/0.8511, allocations: 87.45 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.8511, allocations: 0 / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002322/0.8513, allocations: 16.58 kB / 1.092 GB, free: 1.836 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.0001568/0.8515, allocations: 112.3 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.8516, allocations: 11.59 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8516, allocations: 1.062 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.8516, allocations: 8.094 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.8519, allocations: 14.16 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.8521, allocations: 104.9 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.8523, allocations: 0.6746 MB / 1.093 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.8523, allocations: 5.25 kB / 1.093 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.8523, allocations: 9.891 kB / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.8523, allocations: 0 / 1.093 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of Templates: time 0.002894/0.8552, allocations: 0.5941 MB / 1.094 GB, free: 0.8438 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches