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.008687/0.008687, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001804/0.001804, allocations: 196.2 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 64.41 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.269, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002191/0.2713, allocations: 1.296 MB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005625/0.2718, allocations: 303.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.857e-05/0.2719, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.2719, allocations: 7.922 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.441e-05/0.272, allocations: 11.92 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.2723, allocations: 79.72 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.2724, allocations: 35.84 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.2725, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2726, allocations: 35.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.2726, allocations: 11.94 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2727, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.2728, allocations: 83.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.2728, allocations: 7.922 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.2729, allocations: 11.92 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2731, allocations: 79.72 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2731, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2731, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.2731, allocations: 0 / 1.09 GB, free: 15.52 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.0003843/0.2735, allocations: 351.2 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2735, allocations: 8.031 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.2736, allocations: 8.891 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.2737, allocations: 168.3 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2737, allocations: 4.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2737, allocations: 384 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2738, allocations: 37.64 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2738, allocations: 7.938 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2739, allocations: 4 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2739, allocations: 0 / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.2739, allocations: 7.984 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.2741, allocations: 157.7 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.974e-05/0.2742, allocations: 38.55 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.2742, allocations: 12.92 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/0.2753, allocations: 1.187 MB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2753, allocations: 30.56 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2753, allocations: 7.938 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.2755, allocations: 53.67 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2755, allocations: 51.41 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.2756, allocations: 109.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2756, allocations: 29.64 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.2757, allocations: 84.14 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2757, allocations: 11.84 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.2757, allocations: 13.72 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2759, allocations: 322.8 kB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.2759, allocations: 4 kB / 1.092 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.2759, allocations: 4 kB / 1.092 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.973e-05/0.276, allocations: 20.8 kB / 1.092 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.276, allocations: 0 / 1.092 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.381e-05/0.276, allocations: 49.62 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2761, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2761, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2761, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.2761, allocations: 7.984 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2762, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.2762, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2762, allocations: 0 / 1.093 GB, free: 12.27 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 6.64e-05/0.2763, allocations: 109.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.2763, allocations: 11.89 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.2764, allocations: 57.53 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2764, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2764, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2765, allocations: 3.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2766, allocations: 157.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.2766, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.2766, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2766, allocations: 3.938 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2766, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2766, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2766, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.2767, allocations: 77.06 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.2768, allocations: 92.98 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2768, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.386e-05/0.2769, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.2769, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2769, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.277, allocations: 95.55 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.277, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002119/0.2772, allocations: 27.88 kB / 1.093 GB, free: 11.5 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 (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.0001817/0.2774, allocations: 131.6 kB / 1.093 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.249e-05/0.2775, allocations: 16.41 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2775, allocations: 3.938 kB / 1.093 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.892e-05/0.2775, allocations: 15.94 kB / 1.093 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2777, allocations: 5.844 kB / 1.093 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.278, allocations: 118.1 kB / 1.093 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2783, allocations: 0.6885 MB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.2783, allocations: 4 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.2784, allocations: 7.438 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.2784, allocations: 0 / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.002883/0.2812, allocations: 0.7868 MB / 1.095 GB, free: 9.68 MB / 0.8575 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