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.006931/0.006931, allocations: 99.84 kB / 15.73 MB, free: 6.02 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.001778/0.001778, allocations: 204.5 kB / 16.68 MB, free: 5.938 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.188 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 62.25 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2782, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002534/0.2808, allocations: 1.297 MB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006004/0.2814, allocations: 299.3 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.2815, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.2815, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2816, allocations: 11.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.282, allocations: 79.7 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.243e-05/0.2821, allocations: 43.78 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.445e-05/0.2821, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.2822, allocations: 19.98 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.2823, allocations: 7.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2823, allocations: 0 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2825, allocations: 83.91 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.2825, allocations: 7.922 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2825, allocations: 11.94 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2827, allocations: 79.78 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2827, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2827, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2828, allocations: 4 kB / 1.09 GB, free: 15.56 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.000424/0.2832, allocations: 343.4 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2832, allocations: 12.03 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2833, allocations: 0.9375 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2834, allocations: 180.2 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2834, allocations: 384 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.2834, allocations: 12.31 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.2836, allocations: 45.61 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2836, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2836, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2836, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.2837, allocations: 12 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.2838, allocations: 153.7 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2839, allocations: 38.55 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.284, allocations: 16.86 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.2851, allocations: 1.187 MB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2851, allocations: 30.56 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.2851, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000158/0.2853, allocations: 57.59 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.2853, allocations: 55.34 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/0.2854, allocations: 105.8 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2854, allocations: 25.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.2855, allocations: 80.14 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.2855, allocations: 11.84 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.2855, allocations: 21.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2856, allocations: 314.8 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.2857, allocations: 4 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.2857, allocations: 8 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.006e-05/0.2857, allocations: 16.84 kB / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2857, allocations: 0 / 1.092 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.235e-05/0.2858, allocations: 49.58 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2858, allocations: 4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2859, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2859, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.2859, allocations: 11.98 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2859, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.286, allocations: 7.906 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.286, allocations: 4 kB / 1.093 GB, free: 12.3 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 7.798e-05/0.2861, allocations: 105.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.2861, allocations: 7.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.2862, allocations: 61.92 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2862, allocations: 3.984 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2862, allocations: 48 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2862, allocations: 3.984 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2864, allocations: 161.6 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2864, allocations: 7.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.2864, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.2864, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2864, allocations: 7.875 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2864, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2864, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.78e-05/0.2865, allocations: 77.03 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.2866, allocations: 93.03 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.2866, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.2867, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.2867, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2867, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.2867, allocations: 87.27 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2868, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002254/0.287, allocations: 31.94 kB / 1.093 GB, free: 11.54 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.0001782/0.2872, allocations: 135.7 kB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.2873, allocations: 15.98 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2873, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.2873, allocations: 8 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2875, allocations: 9.656 kB / 1.093 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2878, allocations: 130.1 kB / 1.093 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.2881, allocations: 0.6807 MB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.2881, allocations: 8.531 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.2881, allocations: 7.438 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2881, allocations: 4 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of Templates: time 0.002977/0.2911, allocations: 0.788 MB / 1.095 GB, free: 9.711 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