Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001264, allocations: 180 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008517/0.0008518, allocations: 93.23 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 13.91 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2308, allocations: 106.3 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.4455, allocations: 133.4 MB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4457, allocations: 83.94 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.4618, allocations: 5.322 MB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4618, allocations: 0 / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4619, allocations: 8 kB / 1.036 GB, free: 5.297 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003917/0.4623, allocations: 355.2 kB / 1.036 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4623, allocations: 8.031 kB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.4624, allocations: 11.94 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.4625, allocations: 159.1 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4625, allocations: 7.938 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.4625, allocations: 11.92 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.4626, allocations: 37.69 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4627, allocations: 8 kB / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.4627, allocations: 0 / 1.036 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4627, allocations: 4 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.4627, allocations: 19.92 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.4631, allocations: 252.8 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.4633, allocations: 50.62 kB / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4633, allocations: 4 kB / 1.037 GB, free: 4.234 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.4633, allocations: 30.56 kB / 1.037 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.4633, allocations: 4 kB / 1.037 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000171/0.4635, allocations: 57.69 kB / 1.037 GB, free: 4.129 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4636, allocations: 55.36 kB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.4636, allocations: 89 kB / 1.037 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.4637, allocations: 29.7 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.4637, allocations: 92.06 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.4637, allocations: 11.81 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.4637, allocations: 0 / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.4638, allocations: 314.8 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.4639, allocations: 4 kB / 1.037 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.4639, allocations: 25.7 kB / 1.037 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.4639, allocations: 8 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4639, allocations: 0 / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.438e-05/0.464, allocations: 57.62 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.464, allocations: 8 kB / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4641, allocations: 0 / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4641, allocations: 0 / 1.037 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.912e-05/0.4641, allocations: 8 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4641, allocations: 0 / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.4642, allocations: 11.94 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.4642, allocations: 4 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 7.177e-05/0.4643, allocations: 109.8 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.4643, allocations: 11.94 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.4644, allocations: 57.12 kB / 1.037 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4645, allocations: 4 kB / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4645, allocations: 480 / 1.037 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4645, allocations: 7.922 kB / 1.037 GB, free: 3.168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4647, allocations: 157.6 kB / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4647, allocations: 0 / 1.038 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.4647, allocations: 11.98 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4647, allocations: 0 / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.4647, allocations: 11.94 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4647, allocations: 0 / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4648, allocations: 3.984 kB / 1.038 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.4649, allocations: 151.4 kB / 1.038 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.4649, allocations: 81.02 kB / 1.038 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4649, allocations: 4 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.465, allocations: 0 / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.465, allocations: 3.984 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.465, allocations: 8.125 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.731e-05/0.4651, allocations: 75.28 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4651, allocations: 0 / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002558/0.4653, allocations: 28 kB / 1.038 GB, free: 2.559 MB / 0.6823 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 (4): * Single equations (assignments): 4 * 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.0001795/0.4655, allocations: 127.1 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.4656, allocations: 20 kB / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.4656, allocations: 0 / 1.038 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.4656, allocations: 19.98 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.4658, allocations: 7.953 kB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.466, allocations: 124.6 kB / 1.038 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.4663, allocations: 0.6809 MB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.4663, allocations: 4 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.961e-05/0.4663, allocations: 19.36 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4663, allocations: 0 / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of Templates: time 0.002162/0.4685, allocations: 483.9 kB / 1.039 GB, free: 1.031 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches