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.005266/0.005266, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001217/0.001217, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.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.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 61.97 kB / 0.9508 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 140.4 MB / 1.088 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.003792/0.2941, allocations: 1.254 MB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2956, allocations: 0.5894 MB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.2957, allocations: 0 / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.2957, allocations: 3.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.2958, allocations: 3.984 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.2966, allocations: 143 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.2967, allocations: 19.91 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.2968, allocations: 4 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.2968, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.2969, allocations: 7.938 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2969, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.2976, allocations: 339.3 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2977, allocations: 3.984 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.2977, allocations: 7.984 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.2981, allocations: 143.6 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2981, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2981, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2981, allocations: 0 / 1.09 GB, free: 15.12 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.0005192/0.2986, allocations: 355.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2987, allocations: 8.031 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.2987, allocations: 4.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2989, allocations: 160.4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2989, allocations: 384 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2989, allocations: 4.375 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.299, allocations: 38.25 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.299, allocations: 192 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.299, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2991, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.2991, allocations: 11.94 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.2993, allocations: 153.6 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.2994, allocations: 22.61 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.468e-05/0.2994, allocations: 12.92 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2995, allocations: 3.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.2995, allocations: 30.56 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.2995, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.2997, allocations: 57.47 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.2998, allocations: 51.41 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.2999, allocations: 93.98 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.2999, allocations: 33.7 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.2999, allocations: 80.14 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.3, allocations: 13.72 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3002, allocations: 318.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.666e-05/0.3002, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.3002, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.162e-05/0.3003, allocations: 13.05 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3003, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.998e-05/0.3004, allocations: 45.55 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3004, allocations: 11.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3004, allocations: 3.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3005, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.3006, allocations: 8 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/0.3011, allocations: 0.5822 MB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.3012, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3012, allocations: 3.984 kB / 1.092 GB, free: 12.77 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 9.96e-05/0.3013, allocations: 119.2 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.3013, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.3015, allocations: 48.75 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3015, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3015, allocations: 4.125 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3015, allocations: 3.938 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3016, allocations: 149.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3017, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3018, allocations: 11.98 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3018, allocations: 3.938 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3018, allocations: 0 / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003911/0.3022, allocations: 0.5898 MB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3022, allocations: 7.969 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.3023, allocations: 69.12 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.3024, allocations: 77.11 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3024, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.296e-05/0.3024, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.3025, allocations: 11.92 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.3025, allocations: 96 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.3025, allocations: 79.28 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3025, allocations: 0 / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003732/0.3029, allocations: 15.94 kB / 1.094 GB, free: 11.46 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.0002134/0.3031, allocations: 111.2 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.3034, allocations: 23.92 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3034, allocations: 4 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3035, allocations: 12.16 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3037, allocations: 3.984 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.3042, allocations: 102.2 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3045, allocations: 0.6768 MB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.907e-05/0.3045, allocations: 0 / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.3045, allocations: 7.438 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3045, allocations: 4.062 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.003431/0.308, allocations: 451.3 kB / 1.095 GB, free: 10.03 MB / 0.8575 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/jenkins/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