Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.002694/0.002694, allocations: 80.45 kB / 19.95 MB, free: 4.605 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.002304/0.002304, 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.602/1.602, allocations: 177.1 MB / 203.5 MB, free: 5.77 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 2.994/2.994, allocations: 378.2 MB / 0.6232 GB, free: 8.281 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_m_flow_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_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9828 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.17e-05, allocations: 2.281 kB / 0.9828 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002517/0.002549, allocations: 1.283 MB / 0.9841 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003616, allocations: 0.5369 MB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.003642, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.003662, allocations: 3.984 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.144e-05/0.003693, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006673/0.004361, allocations: 167.2 kB / 0.9848 GB, free: 15.45 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.004408, allocations: 11.94 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.00445, allocations: 4 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.004478, allocations: 4 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.004516, allocations: 3.984 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.004529, allocations: 4 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.005041, allocations: 315.3 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.005053, allocations: 0 / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.005072, allocations: 4 kB / 0.9851 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.005365, allocations: 159.5 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005368, allocations: 0 / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005369, allocations: 0 / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005372, allocations: 0 / 0.9852 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.0004144/0.005787, allocations: 278 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.005825, allocations: 8.031 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.005855, allocations: 0.9375 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.005967, allocations: 109.7 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005978, allocations: 384 / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.005986, allocations: 4.312 kB / 0.9856 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.006081, allocations: 42.25 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006089, allocations: 192 / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.006097, allocations: 384 / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.006101, allocations: 384 / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.006131, allocations: 7.938 kB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.006292, allocations: 105.3 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.447e-05/0.006357, allocations: 22.59 kB / 0.9858 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.00638, allocations: 8.922 kB / 0.9858 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.006403, allocations: 3.984 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.006437, allocations: 34.56 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.006438, allocations: 4 kB / 0.9858 GB, free: 14.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.006591, allocations: 45.59 kB / 0.9859 GB, free: 14.18 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.00664, allocations: 51.41 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.006734, allocations: 105.8 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.006753, allocations: 25.7 kB / 0.9861 GB, free: 13.97 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.006798, allocations: 80.14 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.00682, allocations: 3.953 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.00685, allocations: 13.72 kB / 0.9861 GB, free: 13.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.007015, allocations: 314.8 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.007033, allocations: 12.25 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.019e-05/0.007043, allocations: 3.984 kB / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.407e-05/0.007077, allocations: 16.86 kB / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.007079, allocations: 0 / 0.9865 GB, free: 13.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.258e-05/0.007151, allocations: 37.64 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.007166, allocations: 4 kB / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.007169, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.007182, allocations: 0 / 0.9865 GB, free: 13.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.007328, allocations: 11.98 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004517/0.00778, allocations: 0.59 MB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.007797, allocations: 3.938 kB / 0.9871 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.007803, allocations: 0 / 0.9871 GB, free: 12.84 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.363e-05/0.007897, allocations: 109.8 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.007907, allocations: 7.969 kB / 0.9872 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.008016, allocations: 48.94 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.008017, allocations: 0 / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.008021, allocations: 3.938 kB / 0.9873 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.008023, allocations: 4.125 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.008129, allocations: 105.3 kB / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.00813, allocations: 0 / 0.9874 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.0082, allocations: 8 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008201, allocations: 0 / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.008214, allocations: 7.922 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003985/0.008613, allocations: 0.5899 MB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.008614, allocations: 0 / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.726e-05/0.008701, allocations: 61.08 kB / 0.988 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.008714, allocations: 12.11 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.008726, allocations: 0 / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.00874, allocations: 0 / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.008757, allocations: 4 kB / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.00876, allocations: 0 / 0.988 GB, free: 11.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.008808, allocations: 79.28 kB / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008808, allocations: 0 / 0.9881 GB, free: 11.72 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002009/0.009009, allocations: 15.94 kB / 0.9881 GB, free: 11.7 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.0001986/0.009208, allocations: 115.8 kB / 0.9882 GB, free: 11.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.009365, allocations: 27.92 kB / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009366, allocations: 0 / 0.9883 GB, free: 11.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.009454, allocations: 15.98 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.009588, allocations: 10.72 kB / 0.9883 GB, free: 11.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.009888, allocations: 100.2 kB / 0.9884 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.529e-05/0.009953, allocations: 55.36 kB / 0.9884 GB, free: 11.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.547e-05/0.009968, allocations: 4.125 kB / 0.9884 GB, free: 11.33 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.009986, allocations: 8.5 kB / 0.9885 GB, free: 11.32 MB / 0.948 GB Notification: Performance of SimCode: time 3.91e-07/0.009986, allocations: 7.875 kB / 0.9885 GB, free: 11.32 MB / 0.948 GB Notification: Performance of Templates: time 0.003203/0.01319, allocations: 0.5642 MB / 0.989 GB, free: 10.79 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_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.810006800107658]