Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108 kB / 15.61 MB, free: 148 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.001379/0.001379, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 64.08 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6304, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002566/0.633, allocations: 1.253 MB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.6333, allocations: 115.5 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.6334, allocations: 4 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.6334, allocations: 4 kB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.458e-05/0.6335, allocations: 7.922 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.6337, allocations: 35.89 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.183e-05/0.6338, allocations: 15.92 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.6338, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.6339, allocations: 3.938 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.6339, allocations: 4 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6339, allocations: 4 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.6341, allocations: 51.94 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.6341, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.6341, allocations: 7.922 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.6342, allocations: 43.94 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6343, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.532e-06/0.6343, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6343, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000436/0.6347, allocations: 329.5 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.6348, allocations: 16.03 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.6348, allocations: 0.9375 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.635, allocations: 168.3 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.635, allocations: 8.375 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.635, allocations: 384 / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.6351, allocations: 37.81 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6351, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.6351, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6351, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.6352, allocations: 4 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.6354, allocations: 157.7 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.906e-05/0.6354, allocations: 30.5 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.6355, allocations: 8.922 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.6363, allocations: 0.6012 MB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.6364, allocations: 42.5 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.6364, allocations: 0 / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001776/0.6366, allocations: 41.61 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.6366, allocations: 51.41 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.6367, allocations: 105.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.6367, allocations: 29.64 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.6368, allocations: 84.14 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.6368, allocations: 0 / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.6368, allocations: 13.84 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.637, allocations: 322.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.637, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.637, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.6371, allocations: 12.86 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6371, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.846e-05/0.6371, allocations: 41.55 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6372, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6372, allocations: 4.094 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6372, allocations: 7.922 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.433e-05/0.6373, allocations: 7.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.6373, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.6373, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.6373, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.889e-05/0.6374, allocations: 113.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.6374, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.6375, allocations: 48.81 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6375, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6375, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6375, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.6377, allocations: 149.7 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6377, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.6377, allocations: 7.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6377, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.6377, allocations: 3.938 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6377, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6377, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.473e-05/0.6378, allocations: 69.16 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.6379, allocations: 81.05 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.6379, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.6379, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.6379, allocations: 4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.638, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.638, allocations: 83.27 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.638, allocations: 4.031 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002033/0.6382, allocations: 12 kB / 1.021 GB, free: 13.82 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0001786/0.6384, allocations: 119.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.593e-05/0.6385, allocations: 15.94 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6385, allocations: 3.938 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.6385, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.6388, allocations: 7.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.639, allocations: 114.1 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6393, allocations: 0.6768 MB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.6394, allocations: 3.938 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.6394, allocations: 7.438 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6394, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002977/0.6424, allocations: 0.5976 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches