Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001049/0.001049, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 64.2 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002976/0.366, allocations: 1.276 MB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.3667, allocations: 309 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.3668, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.3668, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3669, allocations: 15.86 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.3673, allocations: 75.72 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.3674, allocations: 43.78 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.3675, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3676, allocations: 23.97 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.3677, allocations: 7.938 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3677, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3679, allocations: 87.91 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.3679, allocations: 7.938 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.368, allocations: 11.92 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.3682, allocations: 80.06 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3682, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3682, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.3682, allocations: 3.938 kB / 1.07 GB, free: 8.492 MB / 0.8262 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.0004367/0.3687, allocations: 347.4 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.3688, allocations: 8.031 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3688, allocations: 8.844 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3689, allocations: 164.4 kB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.3689, allocations: 4.375 kB / 1.071 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.369, allocations: 4.375 kB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3691, allocations: 45.8 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3691, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3691, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3691, allocations: 0 / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.212e-05/0.3692, allocations: 11.98 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3693, allocations: 153.7 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.3694, allocations: 42.5 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.3695, allocations: 12.92 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.3707, allocations: 1.195 MB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.3707, allocations: 34.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3707, allocations: 0 / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001798/0.3709, allocations: 57.53 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3709, allocations: 51.41 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.371, allocations: 105.8 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.371, allocations: 29.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.3711, allocations: 84.14 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.3711, allocations: 11.84 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.3712, allocations: 13.72 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.3713, allocations: 318.8 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.3713, allocations: 4 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.3713, allocations: 4 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.3714, allocations: 16.86 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3714, allocations: 3.938 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.042e-05/0.3714, allocations: 57.47 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3715, allocations: 8 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3715, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3715, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.3716, allocations: 11.98 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3716, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.3716, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3716, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 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 8.072e-05/0.3717, allocations: 112.1 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.3717, allocations: 7.938 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.3719, allocations: 61.53 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3719, allocations: 0 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3719, allocations: 384 / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3719, allocations: 3.984 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.372, allocations: 157.7 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.372, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.3721, allocations: 7.938 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.3721, allocations: 3.984 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3721, allocations: 4 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.3721, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3721, allocations: 3.938 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.3722, allocations: 73.03 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.3723, allocations: 89.03 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3723, allocations: 4 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.3723, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.3724, allocations: 7.938 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.3724, allocations: 8 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.3724, allocations: 91.56 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3724, allocations: 0 / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002258/0.3727, allocations: 24 kB / 1.073 GB, free: 4.477 MB / 0.8262 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.0001758/0.3729, allocations: 127.2 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/0.3729, allocations: 15.98 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.373, allocations: 0 / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.373, allocations: 11.94 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3732, allocations: 9.562 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.3735, allocations: 137.8 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3738, allocations: 0.6807 MB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.3739, allocations: 8 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.3739, allocations: 11.38 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3739, allocations: 0 / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of Templates: time 0.003081/0.377, allocations: 0.7843 MB / 1.075 GB, free: 2.641 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches