Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.555/2.555, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001433/0.001433, allocations: 191.9 kB / 0.4902 GB, free: 2.227 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.81/1.81, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.0009973/0.0009978, allocations: 100.1 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 7.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3438, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.5582, allocations: 151.8 MB / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5585, allocations: 83.94 kB / 1.378 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.5751, allocations: 5.401 MB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5751, allocations: 0 / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.5752, allocations: 0 / 1.383 GB, free: 12.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004598/0.5756, allocations: 359.3 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.5757, allocations: 8.562 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.5757, allocations: 7.953 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.5759, allocations: 159.1 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.5759, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.5759, allocations: 12 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.576, allocations: 37.69 kB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5761, allocations: 0 / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5761, allocations: 0 / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.5761, allocations: 4 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.5762, allocations: 27.88 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.5765, allocations: 256.8 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.5767, allocations: 50.62 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.5768, allocations: 0 / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.5768, allocations: 30.56 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.5768, allocations: 0 / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001854/0.577, allocations: 65.67 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.577, allocations: 51.41 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.5771, allocations: 93.17 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.5771, allocations: 29.7 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.5772, allocations: 84.14 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5772, allocations: 11.81 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.5773, allocations: 0 / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5774, allocations: 314.8 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.5774, allocations: 7.984 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.5775, allocations: 17.72 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.089e-05/0.5775, allocations: 16.17 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5775, allocations: 3.938 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.5776, allocations: 61.53 kB / 1.384 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5776, allocations: 8 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5777, allocations: 0 / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5777, allocations: 0 / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.5777, allocations: 11.98 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.5777, allocations: 3.953 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.5778, allocations: 3.938 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5778, allocations: 4 kB / 1.384 GB, free: 10.3 MB / 0.8855 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 8.53e-05/0.5779, allocations: 113.9 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.5779, allocations: 4 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.5781, allocations: 61.11 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5781, allocations: 0 / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5781, allocations: 4 kB / 1.385 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5781, allocations: 3.953 kB / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.5783, allocations: 153.7 kB / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5783, allocations: 0 / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.5783, allocations: 8 kB / 1.385 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5783, allocations: 7.938 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5784, allocations: 0 / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5784, allocations: 3.938 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5784, allocations: 0 / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.5785, allocations: 151.4 kB / 1.385 GB, free: 9.719 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.5786, allocations: 81.09 kB / 1.385 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.5786, allocations: 4 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.923e-05/0.5786, allocations: 8 kB / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.5787, allocations: 0 / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.5787, allocations: 0 / 1.385 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.5787, allocations: 79.28 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002729/0.579, allocations: 31.98 kB / 1.385 GB, free: 9.5 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 (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.0002483/0.5792, allocations: 127.9 kB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.767e-05/0.5794, allocations: 27.92 kB / 1.385 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5794, allocations: 4.062 kB / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.5794, allocations: 8 kB / 1.385 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.5795, allocations: 5.125 kB / 1.385 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.5799, allocations: 136.5 kB / 1.385 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.5802, allocations: 0.677 MB / 1.386 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.5802, allocations: 8 kB / 1.386 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.5802, allocations: 11.44 kB / 1.386 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5803, allocations: 3.938 kB / 1.386 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of Templates: time 0.00268/0.5829, allocations: 490.5 kB / 1.387 GB, free: 7.957 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches