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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 109 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8653/0.8668, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002275/0.8691, allocations: 1.248 MB / 1.09 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.8701, allocations: 0.5964 MB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.8701, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.8701, allocations: 1 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.8702, allocations: 4.547 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.8708, allocations: 135 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.503e-05/0.8708, allocations: 13.62 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.8709, allocations: 7.359 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.976e-05/0.8709, allocations: 6.344 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.8709, allocations: 7.484 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.871, allocations: 0 / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005937/0.8716, allocations: 341.1 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.8716, allocations: 4.547 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.8716, allocations: 7.016 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.8719, allocations: 138 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8719, allocations: 1.031 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8719, allocations: 0.7969 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.8719, allocations: 0 / 1.091 GB, free: 3.992 MB / 0.8575 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.0003543/0.8723, allocations: 350.2 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.8723, allocations: 13.56 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.8724, allocations: 2 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.8724, allocations: 162.7 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.8725, allocations: 2.453 kB / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.8725, allocations: 384 / 1.092 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.8726, allocations: 34.61 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.8726, allocations: 1.406 kB / 1.092 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8726, allocations: 4.734 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8726, allocations: 0 / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.8726, allocations: 11.86 kB / 1.092 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.8728, allocations: 147.1 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.81e-05/0.8728, allocations: 24.39 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.8729, allocations: 7.719 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.8729, allocations: 0.9062 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.8729, allocations: 36.19 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8729, allocations: 7.938 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000128/0.873, allocations: 49.52 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.8731, allocations: 52.02 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/0.8731, allocations: 93.8 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.8731, allocations: 26.8 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.8732, allocations: 84.89 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.8732, allocations: 4.656 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.8732, allocations: 18.05 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.8733, allocations: 311.6 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.8733, allocations: 7.266 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-06/0.8733, allocations: 2.219 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.8733, allocations: 18.61 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8733, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.58e-05/0.8734, allocations: 44.3 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8734, allocations: 5.344 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8734, allocations: 8.031 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8735, allocations: 1.641 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.8736, allocations: 10.56 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002498/0.8739, allocations: 0.5899 MB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.8739, allocations: 1.062 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8739, allocations: 1.391 kB / 1.093 GB, free: 1.777 MB / 0.8575 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.874, allocations: 116.5 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.874, allocations: 5.141 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.8741, allocations: 44.14 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.8741, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8741, allocations: 0.6562 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8741, allocations: 0.7812 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.8742, allocations: 154.8 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8742, allocations: 0.7812 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.8743, allocations: 13.8 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.8743, allocations: 5.5 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.8743, allocations: 0.8438 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000213/0.8745, allocations: 0.5835 MB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8746, allocations: 3.938 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.063e-05/0.8746, allocations: 65.12 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.8747, allocations: 78.75 kB / 1.094 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.8747, allocations: 4.781 kB / 1.094 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.8747, allocations: 5.562 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8747, allocations: 5.438 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.8747, allocations: 0.6875 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.059e-05/0.8747, allocations: 78.05 kB / 1.094 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8747, allocations: 0 / 1.094 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002015/0.875, allocations: 15.58 kB / 1.094 GB, free: 0.5586 MB / 0.8575 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000216/0.8752, allocations: 116.5 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.8754, allocations: 21.06 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8754, allocations: 0 / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/0.8755, allocations: 13.83 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.8756, allocations: 1.562 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003105/0.8759, allocations: 141.6 kB / 1.095 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.8762, allocations: 0.6737 MB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.8762, allocations: 8.406 kB / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.8762, allocations: 0 / 1.095 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.002533/0.8787, allocations: 0.6984 MB / 1.096 GB, free: 15.57 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches