Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001298/0.001298, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6499/0.6512, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002251/0.6535, allocations: 1.255 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.6544, allocations: 0.5916 MB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.148e-05/0.6544, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.6544, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.334e-05/0.6545, allocations: 0 / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.655, allocations: 135.4 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.655, allocations: 19.91 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.6551, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.6551, allocations: 4 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.6551, allocations: 11.94 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.6552, allocations: 0 / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.6556, allocations: 339.3 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.6557, allocations: 3.984 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.6557, allocations: 4 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.6559, allocations: 145.6 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.6559, allocations: 0 / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6559, allocations: 0 / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.656, allocations: 4 kB / 1.02 GB, free: 0 / 0.7637 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.0003977/0.6564, allocations: 351.5 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.6564, allocations: 8.031 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.6564, allocations: 4.938 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.6566, allocations: 172.3 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.6566, allocations: 384 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.6566, allocations: 384 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.289e-05/0.6567, allocations: 38.19 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6567, allocations: 4.188 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.6567, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6567, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.6568, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.6569, allocations: 149.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.865e-05/0.657, allocations: 26.59 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.657, allocations: 12.91 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.657, allocations: 7.938 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.657, allocations: 30.56 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.657, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000145/0.6572, allocations: 45.64 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6572, allocations: 55.39 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.6573, allocations: 89.86 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.6573, allocations: 25.7 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.6574, allocations: 88.39 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.6574, allocations: 11.84 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.6574, allocations: 9.719 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.6575, allocations: 318.8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.6575, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-06/0.6575, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.923e-05/0.6576, allocations: 16.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.6576, allocations: 64 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.039e-05/0.6576, allocations: 41.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.6577, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6577, allocations: 7.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.6577, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.6578, allocations: 8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002998/0.6581, allocations: 0.5859 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.6582, allocations: 4.125 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.6582, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 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 6.512e-05/0.6583, allocations: 119.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.6583, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.6584, allocations: 40.83 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6584, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6584, allocations: 3.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.6584, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.6585, allocations: 157.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6585, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.6586, allocations: 15.92 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.6586, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.6586, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000264/0.6589, allocations: 0.5782 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.6589, allocations: 3.938 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.027e-05/0.659, allocations: 73.19 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.659, allocations: 85.02 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.659, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.659, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.6591, allocations: 11.88 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.6591, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.6591, allocations: 83.3 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6591, allocations: 4.094 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001888/0.6593, allocations: 8 kB / 1.023 GB, free: 12.34 MB / 0.7794 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.0001555/0.6595, allocations: 115.2 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.6596, allocations: 15.98 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6596, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.6597, allocations: 16 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.6599, allocations: 5.531 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.6602, allocations: 112.5 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.6604, allocations: 0.6768 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.6604, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.6604, allocations: 7.438 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6604, allocations: 0 / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002365/0.6628, allocations: 445.1 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches