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.001111/0.001111, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002505, 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.0007132/0.0007132, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009072/0.00162, 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.9179/0.9179, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09439/1.012, 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.803/1.803, allocations: 378.2 MB / 0.6076 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4886/2.292, allocations: 123.3 MB / 0.728 GB, free: 5.832 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_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.493e-06/1.493e-06, allocations: 0 / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.481e-05, allocations: 4.984 kB / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002409/0.002434, allocations: 1.358 MB / 0.7307 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.003355, allocations: 0.5838 MB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.003372, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-06/0.003381, allocations: 1.922 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.00341, allocations: 8.859 kB / 0.7313 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.003842, allocations: 143.5 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.003898, allocations: 13.38 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.003943, allocations: 11.92 kB / 0.7314 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.003993, allocations: 4 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.004047, allocations: 7.984 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.004059, allocations: 0.6562 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.004607, allocations: 327.9 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.004618, allocations: 0 / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.004635, allocations: 9.719 kB / 0.7318 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.004878, allocations: 119.7 kB / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.569e-05/0.004894, allocations: 0 / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004895, allocations: 4 kB / 0.7319 GB, free: 1.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.004912, allocations: 0 / 0.7319 GB, free: 1.98 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.0003927/0.005304, allocations: 265.3 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005342, allocations: 12.03 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.00537, allocations: 2.125 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.005463, allocations: 117.8 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.005474, allocations: 384 / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.005481, allocations: 0.875 kB / 0.7322 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.892e-05/0.00555, allocations: 35.08 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.005557, allocations: 192 / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.005563, allocations: 384 / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005569, allocations: 1.25 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.739e-05/0.005586, allocations: 11.88 kB / 0.7323 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.951e-05/0.005675, allocations: 57.61 kB / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.764e-05/0.005723, allocations: 28.38 kB / 0.7324 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.005739, allocations: 8.922 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.005758, allocations: 0 / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.005785, allocations: 34.5 kB / 0.7324 GB, free: 1.332 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005786, allocations: 5.125 kB / 0.7324 GB, free: 1.328 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001017/0.005888, allocations: 29.7 kB / 0.7325 GB, free: 1.293 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.00592, allocations: 52.38 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.006047, allocations: 102.7 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006058, allocations: 26.67 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.006081, allocations: 80.14 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.006107, allocations: 11.95 kB / 0.7327 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.006136, allocations: 14.2 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.006222, allocations: 319.5 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.006233, allocations: 7.984 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.00624, allocations: 5.031 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.006266, allocations: 13.48 kB / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.006267, allocations: 0 / 0.7331 GB, free: 0.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.267e-05/0.00632, allocations: 31.48 kB / 0.7331 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.006337, allocations: 11.98 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.006342, allocations: 0 / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.00635, allocations: 0 / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.006486, allocations: 4 kB / 0.7331 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003044/0.00679, allocations: 0.5871 MB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.00681, allocations: 2.062 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.006817, allocations: 7.984 kB / 0.7337 GB, free: 15.96 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 5.848e-05/0.006875, allocations: 109.8 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/0.006883, allocations: 0 / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.006972, allocations: 49.73 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.006975, allocations: 3.938 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006977, allocations: 0.8438 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.00698, allocations: 0 / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.216e-05/0.007052, allocations: 70.45 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.007054, allocations: 0 / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.703e-05/0.007131, allocations: 17.77 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.007138, allocations: 3.938 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.00714, allocations: 0 / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-06/0.007143, allocations: 0 / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003792/0.007522, allocations: 0.5793 MB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.007524, allocations: 0 / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.049e-05/0.007584, allocations: 69.53 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.007594, allocations: 4 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.007607, allocations: 0.875 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.007617, allocations: 0 / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.00762, allocations: 1.938 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.007633, allocations: 16.83 kB / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007633, allocations: 0 / 0.7346 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001862/0.00782, allocations: 19.94 kB / 0.7346 GB, free: 14.94 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.0001951/0.008015, allocations: 107 kB / 0.7347 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.998e-05/0.008115, allocations: 16.84 kB / 0.7347 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.00812, allocations: 4 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.00815, allocations: 12.8 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 7.526e-05/0.008225, allocations: 13.66 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.008762, allocations: 104.7 kB / 0.7349 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.008792, allocations: 55.84 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.472e-05/0.008817, allocations: 7.062 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.00885, allocations: 47.38 kB / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.042e-06/0.008851, allocations: 0 / 0.735 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.00255/0.0114, allocations: 0.611 MB / 0.7356 GB, free: 13.97 MB / 0.7136 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 -ignoreHideResult -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: 4.6071466486901045]