Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 169.2 kB / 23.23 MB, free: 1.328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 3.012/3.012, allocations: 378.2 MB / 0.6232 GB, free: 8.312 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.9828 GB, free: 1.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.808e-05, allocations: 6.281 kB / 0.9828 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002393/0.002421, allocations: 1.291 MB / 0.9841 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003494, allocations: 0.5487 MB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.003523, allocations: 0 / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 1.929e-05/0.003542, allocations: 0 / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.003579, allocations: 3.938 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.004135, allocations: 167.2 kB / 0.9848 GB, free: 15.46 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.004189, allocations: 11.94 kB / 0.9848 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.00424, allocations: 4 kB / 0.9848 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.004271, allocations: 7.984 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.004309, allocations: 0 / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.004323, allocations: 4 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005066/0.00483, allocations: 315.3 kB / 0.9851 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.004846, allocations: 3.984 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.004866, allocations: 4 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.005142, allocations: 159.4 kB / 0.9853 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005144, allocations: 4 kB / 0.9853 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005145, allocations: 0 / 0.9853 GB, free: 14.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.00515, allocations: 0 / 0.9853 GB, free: 14.96 MB / 0.948 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.0004187/0.005568, allocations: 274 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.005618, allocations: 12.03 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.005652, allocations: 0.9375 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.005763, allocations: 101.8 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.005778, allocations: 4.375 kB / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.005785, allocations: 384 / 0.9856 GB, free: 14.52 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.005888, allocations: 42.25 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005897, allocations: 192 / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.005906, allocations: 4.312 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.00591, allocations: 384 / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.005941, allocations: 11.88 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.006092, allocations: 97.36 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.071e-05/0.006153, allocations: 26.56 kB / 0.9858 GB, free: 14.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.006178, allocations: 8.844 kB / 0.9858 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.006204, allocations: 4.062 kB / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.006232, allocations: 30.56 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.006233, allocations: 4 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.006388, allocations: 45.59 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.006437, allocations: 55.41 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.006538, allocations: 101.8 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.006557, allocations: 25.7 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.006602, allocations: 84.14 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.006627, allocations: 3.953 kB / 0.9862 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.006656, allocations: 9.719 kB / 0.9862 GB, free: 13.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.006818, allocations: 318.8 kB / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.006831, allocations: 256 / 0.9865 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.006843, allocations: 11.98 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.765e-05/0.006871, allocations: 8.859 kB / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006872, allocations: 0 / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.268e-05/0.006935, allocations: 41.64 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.006952, allocations: 10.81 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006956, allocations: 0 / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.006971, allocations: 0 / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.007124, allocations: 11.98 kB / 0.9866 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004739/0.007598, allocations: 0.5861 MB / 0.9871 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.007615, allocations: 3.938 kB / 0.9871 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.007622, allocations: 0 / 0.9871 GB, free: 12.85 MB / 0.948 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.042e-05/0.007712, allocations: 117.8 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.007721, allocations: 3.938 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.007836, allocations: 45 kB / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007837, allocations: 0 / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.007844, allocations: 4 kB / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.007846, allocations: 0 / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.41e-05/0.00794, allocations: 101.4 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.007944, allocations: 7.938 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.008011, allocations: 8 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.008019, allocations: 4 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.00803, allocations: 7.922 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004877/0.008517, allocations: 0.5859 MB / 0.988 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.008518, allocations: 0 / 0.988 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.145e-05/0.00861, allocations: 65.11 kB / 0.988 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.008621, allocations: 3.984 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.008631, allocations: 4.125 kB / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.373e-05/0.008645, allocations: 0 / 0.9881 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.579e-05/0.00866, allocations: 4 kB / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.008663, allocations: 0 / 0.9881 GB, free: 11.81 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.00871, allocations: 79.28 kB / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00871, allocations: 0 / 0.9881 GB, free: 11.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001961/0.008906, allocations: 15.94 kB / 0.9882 GB, free: 11.72 MB / 0.948 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.00023/0.009136, allocations: 119.7 kB / 0.9883 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.009291, allocations: 24.02 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.009298, allocations: 4 kB / 0.9883 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.009394, allocations: 15.98 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.009539, allocations: 5.625 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.009869, allocations: 96.97 kB / 0.9884 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.938e-05/0.009928, allocations: 55.36 kB / 0.9885 GB, free: 11.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.975e-05/0.009948, allocations: 8.062 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.009966, allocations: 8.5 kB / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.009966, allocations: 0 / 0.9885 GB, free: 11.34 MB / 0.948 GB Notification: Performance of Templates: time 0.003276/0.01324, allocations: 0.5581 MB / 0.989 GB, free: 10.82 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.687340447911993]