Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.002251/0.002251, allocations: 172 kB / 0.4902 GB, free: 2.23 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.843/1.843, allocations: 223.2 MB / 0.7992 GB, free: 14.7 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.00126/0.00126, allocations: 102.4 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004015, allocations: 10.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3613, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.5895, allocations: 150.6 MB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5899, allocations: 75.95 kB / 1.376 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.6004, allocations: 3.49 MB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6005, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.6005, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 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.000359/0.6009, allocations: 347.2 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6009, allocations: 12.56 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.601, allocations: 3.953 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.6011, allocations: 159.1 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.6011, allocations: 4 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.6012, allocations: 0 / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.6013, allocations: 33.69 kB / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.6013, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.6013, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6013, allocations: 0 / 1.38 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.6014, allocations: 15.84 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.6016, allocations: 145.6 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 6.346e-05/0.6016, allocations: 30.59 kB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6017, allocations: 0 / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6017, allocations: 30.56 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.6017, allocations: 0 / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001711/0.6019, allocations: 41.83 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.602, allocations: 59.41 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.602, allocations: 88.98 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.6021, allocations: 25.7 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.6021, allocations: 80.14 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.6022, allocations: 11.91 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.6022, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6023, allocations: 314.8 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.6023, allocations: 8.062 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-06/0.6023, allocations: 4 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.6024, allocations: 4 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6024, allocations: 0 / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.89e-05/0.6025, allocations: 45.62 kB / 1.381 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6025, allocations: 4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6025, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.6025, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.6027, allocations: 11.98 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/0.6031, allocations: 0.5899 MB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.6031, allocations: 0 / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.6031, allocations: 4.031 kB / 1.382 GB, free: 13.05 MB / 0.8855 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.541e-05/0.6032, allocations: 113.8 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.6033, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.6034, allocations: 52.84 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6034, allocations: 4 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6034, allocations: 0 / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6034, allocations: 7.938 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.6035, allocations: 149.7 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6035, allocations: 4 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.6036, allocations: 8 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.6036, allocations: 4 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6036, allocations: 3.984 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000356/0.604, allocations: 0.5899 MB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.604, allocations: 0 / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.375e-05/0.6041, allocations: 61.08 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.6041, allocations: 93.03 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.6041, allocations: 0 / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.595e-05/0.6042, allocations: 4.078 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.6042, allocations: 4 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.6042, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.6042, allocations: 79.28 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.6043, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002038/0.6045, allocations: 12 kB / 1.383 GB, free: 11.75 MB / 0.8855 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.0001981/0.6047, allocations: 112 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.6048, allocations: 28.02 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6048, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.6049, allocations: 11.98 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.605, allocations: 4 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.6055, allocations: 115 kB / 1.383 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.6059, allocations: 0.6772 MB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.573e-05/0.6059, allocations: 4 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.6059, allocations: 7.438 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.6059, allocations: 0 / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of Templates: time 0.002562/0.6085, allocations: 403.1 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches