Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 181 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009113, allocations: 101 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005011, allocations: 6.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3926, allocations: 142.4 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5842, allocations: 149.8 MB / 1.369 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.5845, allocations: 83.94 kB / 1.369 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01041/0.5949, allocations: 3.491 MB / 1.373 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.595, allocations: 0 / 1.373 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.595, allocations: 4 kB / 1.373 GB, free: 8.66 MB / 0.8698 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.0003373/0.5953, allocations: 331.4 kB / 1.373 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5954, allocations: 8.031 kB / 1.373 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.348e-05/0.5954, allocations: 7.953 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5956, allocations: 166.9 kB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.5956, allocations: 4 kB / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.5956, allocations: 0 / 1.373 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.5957, allocations: 37.69 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.5957, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.5957, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.5957, allocations: 0 / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.5958, allocations: 4 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.596, allocations: 157.6 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.596, allocations: 30.55 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.596, allocations: 4 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.5961, allocations: 30.56 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5961, allocations: 0 / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.5962, allocations: 37.75 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.5963, allocations: 59.41 kB / 1.374 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.812e-05/0.5963, allocations: 85 kB / 1.374 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.5963, allocations: 25.7 kB / 1.374 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.5964, allocations: 88.33 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5964, allocations: 11.84 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.5964, allocations: 3.938 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5966, allocations: 318.8 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.5966, allocations: 3.984 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.5966, allocations: 4 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.67e-05/0.5966, allocations: 4 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5966, allocations: 0 / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.043e-05/0.5967, allocations: 45.7 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.5967, allocations: 4 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5967, allocations: 0 / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5967, allocations: 0 / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.5969, allocations: 15.97 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/0.5973, allocations: 0.5859 MB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.5974, allocations: 4.031 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5974, allocations: 4.125 kB / 1.375 GB, free: 6.375 MB / 0.8698 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.5975, allocations: 107.4 kB / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.5975, allocations: 0 / 1.375 GB, free: 6.262 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.5976, allocations: 44.81 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5976, allocations: 4 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5976, allocations: 0 / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.5976, allocations: 7.891 kB / 1.375 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.5978, allocations: 153.7 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5978, allocations: 4.031 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.5979, allocations: 11.98 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5979, allocations: 0 / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5979, allocations: 0 / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003385/0.5982, allocations: 0.5859 MB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5982, allocations: 0 / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.5983, allocations: 69.19 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.5984, allocations: 81.11 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5984, allocations: 0 / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.5984, allocations: 3.953 kB / 1.376 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.5984, allocations: 0 / 1.376 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.5984, allocations: 4 kB / 1.376 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.5985, allocations: 79.28 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5985, allocations: 0 / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000202/0.5987, allocations: 24.05 kB / 1.376 GB, free: 5.082 MB / 0.8698 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.5989, allocations: 123 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.5991, allocations: 8 kB / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5991, allocations: 4 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.5992, allocations: 19.92 kB / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001035/0.5993, allocations: 0 / 1.376 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.5997, allocations: 107.3 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.6, allocations: 0.6731 MB / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.6, allocations: 0 / 1.377 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.6, allocations: 11.38 kB / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.6, allocations: 0 / 1.377 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of Templates: time 0.002343/0.6024, allocations: 407.6 kB / 1.377 GB, free: 3.684 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches