Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.376/1.376, allocations: 249.3 MB / 261.8 MB, free: 5.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 178.7 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0007922/0.0007922, allocations: 96.8 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.528e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1618, allocations: 106.3 MB / 0.8918 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/0.7654, allocations: 132.2 MB / 1.021 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.7657, allocations: 78.2 kB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009876/0.7756, allocations: 3.452 MB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7756, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7756, allocations: 0 / 1.024 GB, free: 15.66 MB / 0.6511 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.0003429/0.776, allocations: 339.4 kB / 1.025 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.776, allocations: 12.03 kB / 1.025 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.7761, allocations: 0 / 1.025 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7762, allocations: 167 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.7762, allocations: 0 / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.7762, allocations: 8 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.765e-05/0.7763, allocations: 33.33 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.7764, allocations: 0 / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7764, allocations: 4 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7764, allocations: 3.984 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.509e-05/0.7764, allocations: 0 / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.7766, allocations: 157.5 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 4.95e-05/0.7767, allocations: 22.61 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.7767, allocations: 16.36 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.7767, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.7768, allocations: 38.56 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7768, allocations: 0 / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001216/0.7769, allocations: 33.7 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.7769, allocations: 55.39 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.777, allocations: 91.59 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.777, allocations: 25.7 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.7771, allocations: 84.14 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.7771, allocations: 3.906 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.7771, allocations: 3 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.7772, allocations: 314.8 kB / 1.026 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.7773, allocations: 4 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.7773, allocations: 0 / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.104e-05/0.7773, allocations: 8.188 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7773, allocations: 3.938 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.046e-05/0.7774, allocations: 45 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.7774, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.7774, allocations: 0 / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7774, allocations: 4 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.7776, allocations: 7.984 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00037/0.778, allocations: 0.586 MB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.778, allocations: 7.859 kB / 1.026 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.778, allocations: 4 kB / 1.026 GB, free: 13.4 MB / 0.6511 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 () * 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 7.298e-05/0.7781, allocations: 107.9 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.7781, allocations: 4.031 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.7782, allocations: 47.95 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7782, allocations: 0 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7782, allocations: 128 / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.7783, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.7784, allocations: 153.6 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7784, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.7785, allocations: 10.38 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7785, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.7785, allocations: 0 / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003049/0.7788, allocations: 0.589 MB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7788, allocations: 8.125 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.7789, allocations: 59.08 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.7789, allocations: 77.11 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.7789, allocations: 3.984 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.779, allocations: 0 / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.779, allocations: 7.953 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.779, allocations: 3.938 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.187e-05/0.779, allocations: 79.31 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.523e-06/0.779, allocations: 0 / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001977/0.7792, allocations: 27.44 kB / 1.027 GB, free: 12.13 MB / 0.6511 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 () * 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.0001843/0.7794, allocations: 111.9 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.7796, allocations: 15.98 kB / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7796, allocations: 0 / 1.028 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.7797, allocations: 20.09 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.7798, allocations: 9.531 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/0.78, allocations: 53.98 kB / 1.028 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.7803, allocations: 0.677 MB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.832e-05/0.7803, allocations: 3.906 kB / 1.028 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.7803, allocations: 11.44 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.7803, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.002599/0.7829, allocations: 415.9 kB / 1.029 GB, free: 10.8 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches