Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00108/0.00108, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007277/0.007277, allocations: 169 kB / 16.26 MB, free: 6.66 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.62/1.62, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.022/3.022, allocations: 470.6 MB / 0.7441 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 7.156 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3664, allocations: 161.4 MB / 1.07 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001509/0.3679, allocations: 1.018 MB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.3686, allocations: 316.9 kB / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.3686, allocations: 0 / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.3687, allocations: 0 / 1.071 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3688, allocations: 15.86 kB / 1.071 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.369, allocations: 51.8 kB / 1.071 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.3691, allocations: 39.86 kB / 1.071 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.3692, allocations: 7.922 kB / 1.071 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.3693, allocations: 27.92 kB / 1.071 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.3694, allocations: 11.92 kB / 1.071 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.3694, allocations: 0 / 1.071 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3696, allocations: 83.91 kB / 1.071 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.3696, allocations: 3.938 kB / 1.071 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.3696, allocations: 37.64 kB / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3698, allocations: 80.06 kB / 1.072 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3698, allocations: 4 kB / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3698, allocations: 0 / 1.072 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3698, allocations: 0 / 1.072 GB, free: 9.688 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.0004224/0.3703, allocations: 343.5 kB / 1.072 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3703, allocations: 11.97 kB / 1.072 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3703, allocations: 4.938 kB / 1.072 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.3705, allocations: 172.3 kB / 1.072 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.3705, allocations: 4.375 kB / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.3705, allocations: 384 / 1.072 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3706, allocations: 45.81 kB / 1.072 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3707, allocations: 4 kB / 1.072 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3707, allocations: 3.938 kB / 1.072 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3707, allocations: 0 / 1.072 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.3707, allocations: 4 kB / 1.072 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.3709, allocations: 161.7 kB / 1.072 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.236e-05/0.371, allocations: 34.61 kB / 1.072 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.3711, allocations: 12.92 kB / 1.072 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.3723, allocations: 1.187 MB / 1.073 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.3724, allocations: 34.5 kB / 1.073 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 3.596e-06/0.3724, allocations: 11.94 kB / 1.073 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.3725, allocations: 49.62 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3726, allocations: 51.41 kB / 1.074 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.735e-05/0.3727, allocations: 110.1 kB / 1.074 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3727, allocations: 29.7 kB / 1.074 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3728, allocations: 80.14 kB / 1.074 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3728, allocations: 15.73 kB / 1.074 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.3728, allocations: 13.72 kB / 1.074 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.373, allocations: 318.8 kB / 1.074 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.373, allocations: 4 kB / 1.074 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.373, allocations: 0 / 1.074 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.545e-05/0.3731, allocations: 24.78 kB / 1.074 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3731, allocations: 3.938 kB / 1.074 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.039e-05/0.3732, allocations: 45.97 kB / 1.074 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3732, allocations: 8 kB / 1.074 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3732, allocations: 3.984 kB / 1.074 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.3732, allocations: 3.984 kB / 1.074 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.3733, allocations: 4 kB / 1.074 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3733, allocations: 8.062 kB / 1.074 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.3733, allocations: 0 / 1.074 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3734, allocations: 4 kB / 1.074 GB, free: 6.426 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 9.26e-05/0.3735, allocations: 105.8 kB / 1.074 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.3735, allocations: 7.938 kB / 1.074 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3736, allocations: 69.42 kB / 1.074 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3736, allocations: 0 / 1.074 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3736, allocations: 4 kB / 1.074 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3737, allocations: 0 / 1.074 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.3738, allocations: 153.7 kB / 1.075 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3738, allocations: 0 / 1.075 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.3738, allocations: 7.938 kB / 1.075 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3739, allocations: 4 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.3739, allocations: 0 / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3739, allocations: 0 / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3739, allocations: 0 / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.374, allocations: 81.06 kB / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.3741, allocations: 92.88 kB / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.3741, allocations: 0 / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.3741, allocations: 4 kB / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.3741, allocations: 0 / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.3742, allocations: 0 / 1.075 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.3742, allocations: 91.27 kB / 1.075 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3742, allocations: 0 / 1.075 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002106/0.3744, allocations: 28 kB / 1.075 GB, free: 5.684 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.0001993/0.3746, allocations: 127.2 kB / 1.075 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.3747, allocations: 19.98 kB / 1.075 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3747, allocations: 0 / 1.075 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-05/0.3748, allocations: 11.94 kB / 1.075 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.375, allocations: 7.938 kB / 1.075 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.3753, allocations: 138.7 kB / 1.075 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3756, allocations: 0.6809 MB / 1.076 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.3756, allocations: 8 kB / 1.076 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.3757, allocations: 11.38 kB / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3757, allocations: 0 / 1.076 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.003287/0.379, allocations: 0.77 MB / 1.077 GB, free: 3.852 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches