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.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.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.007863/0.007863, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001594/0.001595, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.392/1.392, 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.266/2.266, allocations: 390.2 MB / 0.6648 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.89 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8633, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002123/0.8655, allocations: 1.298 MB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004942/0.866, allocations: 307.7 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.959e-05/0.866, allocations: 3.938 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.8661, allocations: 4.734 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.392e-05/0.8662, allocations: 10.95 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.8665, allocations: 78.88 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.926e-05/0.8666, allocations: 34.59 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.8666, allocations: 7.594 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.8667, allocations: 26.31 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.541e-05/0.8668, allocations: 14.95 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.8668, allocations: 0.8125 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.867, allocations: 79.45 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.867, allocations: 9.953 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.867, allocations: 16.31 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.8672, allocations: 75.05 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.8672, allocations: 0 / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8672, allocations: 1.188 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.8672, allocations: 0 / 1.09 GB, free: 4.301 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003094/0.8675, allocations: 346.8 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.8676, allocations: 12.84 kB / 1.09 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.8676, allocations: 6.531 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.8677, allocations: 176.5 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.8677, allocations: 4.375 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.8677, allocations: 2.047 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.8678, allocations: 39.02 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.8678, allocations: 0.7969 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.8678, allocations: 4 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8678, allocations: 5.109 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.8679, allocations: 8.984 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.868, allocations: 155.2 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.8681, allocations: 40.89 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.8681, allocations: 14 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008073/0.8689, allocations: 1.18 MB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.869, allocations: 39.59 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.869, allocations: 1.156 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.8691, allocations: 52.06 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.8692, allocations: 55.86 kB / 1.092 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.8692, allocations: 106.9 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-06/0.8692, allocations: 26.36 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.567e-05/0.8693, allocations: 81.5 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.8693, allocations: 14.2 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.8693, allocations: 14.83 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/0.8694, allocations: 312.7 kB / 1.092 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.8694, allocations: 7.906 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.298e-05/0.8694, allocations: 7.703 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/0.8694, allocations: 17.83 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8694, allocations: 0 / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.375e-05/0.8695, allocations: 51.92 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8695, allocations: 6.562 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.8695, allocations: 4 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.8696, allocations: 0.9375 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.8696, allocations: 5.984 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8696, allocations: 0.5938 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.8696, allocations: 8.469 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8697, allocations: 1.406 kB / 1.093 GB, free: 1.336 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 (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 4.535e-05/0.8697, allocations: 109.2 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.8697, allocations: 6.953 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.8698, allocations: 61.14 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8699, allocations: 0.6562 kB / 1.093 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8699, allocations: 5.328 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8699, allocations: 0 / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.096e-05/0.8699, allocations: 164.6 kB / 1.093 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.87, allocations: 3.938 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.87, allocations: 6.547 kB / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.87, allocations: 384 / 1.093 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.87, allocations: 5.719 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.87, allocations: 4.656 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.87, allocations: 0.7812 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.689e-05/0.8701, allocations: 78.83 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.8701, allocations: 86.39 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.8702, allocations: 0.8125 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.8702, allocations: 1.344 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.8702, allocations: 2.234 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8702, allocations: 6.281 kB / 1.093 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.8703, allocations: 91.94 kB / 1.093 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8703, allocations: 3.938 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002234/0.8706, allocations: 29.98 kB / 1.093 GB, free: 16.68 MB / 0.8731 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.000189/0.8708, allocations: 121.4 kB / 1.093 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.088e-05/0.8709, allocations: 17.02 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8709, allocations: 1 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.8709, allocations: 6.875 kB / 1.093 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.8711, allocations: 17.3 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.8713, allocations: 125.4 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.8716, allocations: 0.6824 MB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.8716, allocations: 12.3 kB / 1.094 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.8716, allocations: 10.34 kB / 1.094 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.8716, allocations: 0 / 1.094 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.002941/0.8746, allocations: 0.7832 MB / 1.095 GB, free: 15.65 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches