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.133/2.133, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001102/0.001102, allocations: 180.7 kB / 492.3 MB, free: 0.6016 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.455/1.455, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008855/0.0008856, allocations: 91.89 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.544e-05/2.545e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2314, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8188/1.05, allocations: 149.8 MB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/1.051, allocations: 78.2 kB / 1.359 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009805/1.06, allocations: 3.491 MB / 1.362 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.513e-06/1.06, allocations: 0 / 1.362 GB, free: 34.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.054e-06/1.06, allocations: 0 / 1.362 GB, free: 34.52 MB / 0.8386 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.0002754/1.061, allocations: 338.8 kB / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/1.061, allocations: 11.44 kB / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/1.061, allocations: 0 / 1.362 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.598e-05/1.061, allocations: 164.2 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.061, allocations: 0 / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/1.061, allocations: 7.719 kB / 1.363 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/1.061, allocations: 26.97 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/1.061, allocations: 3.938 kB / 1.363 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/1.061, allocations: 7.719 kB / 1.363 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/1.061, allocations: 0 / 1.363 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/1.061, allocations: 7.594 kB / 1.363 GB, free: 33.92 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/1.061, allocations: 148.5 kB / 1.363 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/1.061, allocations: 25.42 kB / 1.363 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.606e-05/1.061, allocations: 9.922 kB / 1.363 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/1.061, allocations: 0 / 1.363 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/1.061, allocations: 38.55 kB / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.061, allocations: 0 / 1.363 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001192/1.061, allocations: 43.38 kB / 1.363 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/1.061, allocations: 51.41 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/1.062, allocations: 90.59 kB / 1.363 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/1.062, allocations: 25.7 kB / 1.363 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/1.062, allocations: 83.95 kB / 1.363 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/1.062, allocations: 11.66 kB / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/1.062, allocations: 0 / 1.363 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/1.062, allocations: 320.4 kB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/1.062, allocations: 3.938 kB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.714e-06/1.062, allocations: 3.844 kB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.604e-05/1.062, allocations: 3.125 kB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.062, allocations: 0 / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.788e-05/1.062, allocations: 42.92 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/1.062, allocations: 5.469 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.062, allocations: 4 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.062, allocations: 0 / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/1.062, allocations: 10.95 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003134/1.062, allocations: 0.5851 MB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/1.062, allocations: 7.516 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/1.062, allocations: 0 / 1.364 GB, free: 32.39 MB / 0.8386 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 5.189e-05/1.062, allocations: 105.1 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/1.062, allocations: 3.969 kB / 1.364 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.919e-05/1.063, allocations: 48.2 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/1.063, allocations: 0 / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.063, allocations: 3.938 kB / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/1.063, allocations: 0 / 1.364 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.986e-05/1.063, allocations: 155.4 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.063, allocations: 0 / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/1.063, allocations: 10.41 kB / 1.364 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.063, allocations: 4.031 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/1.063, allocations: 4 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002473/1.063, allocations: 0.5891 MB / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.063, allocations: 0 / 1.365 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.47e-05/1.063, allocations: 67.55 kB / 1.365 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/1.063, allocations: 77.11 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/1.063, allocations: 4.766 kB / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.479e-05/1.063, allocations: 0 / 1.365 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/1.063, allocations: 5.594 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/1.063, allocations: 0 / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.672e-05/1.063, allocations: 82.75 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.063, allocations: 0 / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001963/1.063, allocations: 17 kB / 1.365 GB, free: 31.2 MB / 0.8386 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.0001702/1.064, allocations: 123.5 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001464/1.064, allocations: 18.27 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.064, allocations: 0 / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/1.064, allocations: 10.28 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.716e-05/1.064, allocations: 1.203 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001553/1.064, allocations: 59.92 kB / 1.365 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/1.064, allocations: 0.6837 MB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.722e-05/1.064, allocations: 3.938 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/1.064, allocations: 11.38 kB / 1.366 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.064, allocations: 0 / 1.366 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of Templates: time 0.002201/1.067, allocations: 416.8 kB / 1.367 GB, free: 30.26 MB / 0.8386 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