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.0007418/0.0007418, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001679, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006614/0.0006614, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008843/0.001546, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9385/0.9385, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09852/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.89/1.89, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5446/2.435, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] 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.373e-06/1.373e-06, allocations: 0 / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.074e-05, allocations: 6.875 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001671/0.001692, allocations: 1.358 MB / 0.7307 GB, free: 3.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.002299, allocations: 0.5748 MB / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.002322, allocations: 0 / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.795e-06/0.00233, allocations: 0 / 0.7312 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.002354, allocations: 4.75 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.002716, allocations: 141.5 kB / 0.7314 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.838e-05/0.002764, allocations: 12.47 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.002801, allocations: 5.344 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.002847, allocations: 5.312 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.002892, allocations: 9.703 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.002901, allocations: 0 / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.003281, allocations: 331.9 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.003292, allocations: 3.938 kB / 0.7317 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.534e-05/0.003307, allocations: 4 kB / 0.7317 GB, free: 2.113 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.003502, allocations: 124.5 kB / 0.7319 GB, free: 1.992 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.003513, allocations: 0 / 0.7319 GB, free: 1.992 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003514, allocations: 0.5 kB / 0.7319 GB, free: 1.992 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.003524, allocations: 0.625 kB / 0.7319 GB, free: 1.992 MB / 0.698 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.0002851/0.003809, allocations: 272.2 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.003838, allocations: 9.188 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.003861, allocations: 0.9375 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.088e-05/0.003932, allocations: 105.8 kB / 0.7322 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.003941, allocations: 5.25 kB / 0.7322 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.003946, allocations: 384 / 0.7322 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.18e-05/0.004008, allocations: 38.81 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.004013, allocations: 0.875 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-06/0.004018, allocations: 384 / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-06/0.004021, allocations: 2.125 kB / 0.7323 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.004034, allocations: 7.938 kB / 0.7323 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.541e-05/0.004109, allocations: 57.05 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.939e-05/0.004149, allocations: 22.61 kB / 0.7324 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.309e-05/0.004162, allocations: 5.453 kB / 0.7324 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.004181, allocations: 9.047 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.0042, allocations: 38.5 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.004201, allocations: 0 / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 8.559e-05/0.004286, allocations: 35.36 kB / 0.7324 GB, free: 1.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.004312, allocations: 51.41 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.617e-05/0.004359, allocations: 102.7 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.004366, allocations: 26.42 kB / 0.7326 GB, free: 1.098 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.004384, allocations: 84.12 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.004407, allocations: 4.484 kB / 0.7327 GB, free: 1.008 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.004428, allocations: 14.66 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.00449, allocations: 314.8 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.722e-06/0.004497, allocations: 4.875 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.004502, allocations: 0 / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.186e-05/0.004524, allocations: 22.22 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004526, allocations: 0 / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.477e-05/0.004561, allocations: 33.7 kB / 0.7331 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.004573, allocations: 8.906 kB / 0.7331 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.004578, allocations: 4 kB / 0.7331 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.433e-06/0.004585, allocations: 0 / 0.7331 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.004696, allocations: 11.98 kB / 0.7331 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002316/0.004928, allocations: 0.5914 MB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.004941, allocations: 0 / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.004947, allocations: 3.984 kB / 0.7337 GB, free: 15.97 MB / 0.7136 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 4.559e-05/0.004992, allocations: 110.7 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.004998, allocations: 7.984 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.005069, allocations: 34.27 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005072, allocations: 3.938 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005075, allocations: 5.031 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.005078, allocations: 3.984 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.632e-05/0.005124, allocations: 61.86 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005126, allocations: 4.562 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.005178, allocations: 13.7 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.005186, allocations: 7.938 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005188, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-06/0.005191, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001671/0.005358, allocations: 0.5871 MB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.00536, allocations: 3.984 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.224e-05/0.005402, allocations: 65.75 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-06/0.005409, allocations: 0 / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.005417, allocations: 0.5625 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-06/0.005426, allocations: 0 / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.005429, allocations: 4.75 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.496e-06/0.005437, allocations: 5.953 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005437, allocations: 0 / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001266/0.005564, allocations: 27.92 kB / 0.7346 GB, free: 14.95 MB / 0.7136 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.0001404/0.005704, allocations: 111.8 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.384e-05/0.005778, allocations: 19.22 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.005781, allocations: 0 / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.005802, allocations: 20.78 kB / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.711e-05/0.005859, allocations: 0 / 0.7347 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.006283, allocations: 107.2 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.509e-05/0.006308, allocations: 59.3 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.006328, allocations: 0 / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.006358, allocations: 57.23 kB / 0.7349 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.006358, allocations: 0 / 0.7349 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of Templates: time 0.001966/0.008324, allocations: 0.6149 MB / 0.7355 GB, free: 13.98 MB / 0.7136 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 -ignoreHideResult -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: 4.821110931225121]