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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001016/0.001016, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00132/0.00132, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.949/2.949, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003738, allocations: 10.09 kB / 0.9021 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001667/0.3743, allocations: 1.01 MB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005629/0.3749, allocations: 275.3 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.3749, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.375, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.95e-05/0.3751, allocations: 15.92 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3754, allocations: 63.78 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.485e-05/0.3754, allocations: 27.86 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.3755, allocations: 0 / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.3756, allocations: 35.86 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.3757, allocations: 15.86 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3757, allocations: 0 / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.3759, allocations: 75.92 kB / 1.059 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.3759, allocations: 3.984 kB / 1.059 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.376, allocations: 33.64 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3761, allocations: 52.16 kB / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3761, allocations: 0 / 1.06 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3761, allocations: 4 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3761, allocations: 0 / 1.06 GB, free: 3.684 MB / 0.8106 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.000393/0.3765, allocations: 347.2 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.3766, allocations: 8.031 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3766, allocations: 4 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3768, allocations: 167 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3768, allocations: 4 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3768, allocations: 7.953 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3769, allocations: 33.7 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3769, allocations: 7.984 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3769, allocations: 4 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.377, allocations: 0 / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.377, allocations: 7.938 kB / 1.06 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3772, allocations: 165.7 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/0.3773, allocations: 30.61 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.3773, allocations: 12.92 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/0.3785, allocations: 1.191 MB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.3785, allocations: 30.56 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3785, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001694/0.3787, allocations: 57.53 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3787, allocations: 51.41 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.3788, allocations: 105.8 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.3788, allocations: 33.7 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.3789, allocations: 84.08 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.3789, allocations: 7.844 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.3789, allocations: 0 / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3791, allocations: 314.8 kB / 1.062 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3791, allocations: 12 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.3791, allocations: 4 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.3791, allocations: 4 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3791, allocations: 0 / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.107e-05/0.3792, allocations: 49.62 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3792, allocations: 13.92 kB / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3793, allocations: 0 / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3793, allocations: 0 / 1.062 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.3793, allocations: 4 kB / 1.062 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3794, allocations: 4 kB / 1.062 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.3794, allocations: 7.906 kB / 1.062 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3794, allocations: 0 / 1.062 GB, free: 476 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.3795, allocations: 117.8 kB / 1.062 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.3795, allocations: 0 / 1.062 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.3797, allocations: 61.81 kB / 1.062 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3797, allocations: 4.031 kB / 1.062 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3797, allocations: 4 kB / 1.062 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3797, allocations: 0 / 1.062 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3798, allocations: 157.7 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3798, allocations: 3.984 kB / 1.063 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.3799, allocations: 4 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3799, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3799, allocations: 4 kB / 1.063 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.3799, allocations: 3.953 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3799, allocations: 0 / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.3801, allocations: 77.11 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.3801, allocations: 85.09 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3802, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.3802, allocations: 0 / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.3802, allocations: 11.89 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3802, allocations: 4 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.842e-05/0.3803, allocations: 83.27 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3803, allocations: 3.938 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002423/0.3805, allocations: 32 kB / 1.063 GB, free: 15.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.3808, allocations: 135.1 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.3809, allocations: 11.98 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3809, allocations: 0 / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.3809, allocations: 12 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3811, allocations: 0 / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.3815, allocations: 138.6 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3818, allocations: 0.6848 MB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3819, allocations: 4.547 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.3819, allocations: 11.44 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3819, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003506/0.3854, allocations: 0.7647 MB / 1.065 GB, free: 13.89 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