Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001107/0.001107, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002582, 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.001069/0.001069, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002443, 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.9902/0.9902, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09317/1.083, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.861/1.861, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4577/2.318, allocations: 123.3 MB / 0.728 GB, free: 5.836 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,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") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.445e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00159/0.001604, allocations: 1.364 MB / 0.7307 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006831/0.002288, allocations: 0.5827 MB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.002306, allocations: 0 / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.325e-06/0.002315, allocations: 1.547 kB / 0.7312 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.527e-05/0.00234, allocations: 9.391 kB / 0.7313 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.002638, allocations: 147.6 kB / 0.7314 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.934e-05/0.002688, allocations: 7.938 kB / 0.7314 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.002726, allocations: 8.812 kB / 0.7314 GB, free: 2.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.002773, allocations: 7.984 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/0.002868, allocations: 5.438 kB / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.00288, allocations: 0 / 0.7314 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.003194, allocations: 259.4 kB / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.437e-06/0.003203, allocations: 0.6562 kB / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.003216, allocations: 0 / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.003406, allocations: 136.2 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.003421, allocations: 0 / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003421, allocations: 1.719 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.003435, allocations: 0 / 0.7318 GB, free: 2.047 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.0003688/0.003803, allocations: 264.3 kB / 0.7321 GB, free: 1.762 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.003836, allocations: 8.031 kB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.003863, allocations: 6 kB / 0.7321 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.003942, allocations: 105.7 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.003951, allocations: 384 / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.003959, allocations: 5.406 kB / 0.7322 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.481e-05/0.004024, allocations: 30.27 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004031, allocations: 4.828 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.004037, allocations: 384 / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.004041, allocations: 1.25 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.255e-05/0.004053, allocations: 7.938 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.193e-05/0.004135, allocations: 57.8 kB / 0.7323 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.266e-05/0.004178, allocations: 30.53 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.108e-05/0.004189, allocations: 5.547 kB / 0.7323 GB, free: 1.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.004209, allocations: 5.875 kB / 0.7323 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.004228, allocations: 30.56 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.004229, allocations: 0 / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 8.387e-05/0.004313, allocations: 41.69 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.004347, allocations: 52.28 kB / 0.7324 GB, free: 1.301 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.004402, allocations: 102.7 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004412, allocations: 26.3 kB / 0.7326 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.004433, allocations: 81.2 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.004463, allocations: 3.953 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.004483, allocations: 17.7 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.004559, allocations: 319.5 kB / 0.733 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-06/0.004566, allocations: 4 kB / 0.733 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-06/0.004571, allocations: 4.969 kB / 0.733 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.00459, allocations: 8.859 kB / 0.733 GB, free: 0.707 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004592, allocations: 1.031 kB / 0.733 GB, free: 0.707 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.549e-05/0.004627, allocations: 37.69 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.00464, allocations: 7.656 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.004646, allocations: 5.781 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-06/0.004653, allocations: 3.938 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.004787, allocations: 11.98 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002381/0.005026, allocations: 0.5833 MB / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.005037, allocations: 0 / 0.7336 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.00504, allocations: 0 / 0.7336 GB, free: 36 kB / 0.698 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.661e-05/0.005107, allocations: 111.7 kB / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-06/0.005111, allocations: 0 / 0.7337 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.005178, allocations: 48.92 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.005181, allocations: 7.938 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.005184, allocations: 4.734 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.005187, allocations: 0 / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.271e-05/0.005239, allocations: 74.45 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.005241, allocations: 0 / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.005282, allocations: 4.75 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.005288, allocations: 4 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005289, allocations: 1.594 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-06/0.005292, allocations: 0 / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001745/0.005466, allocations: 0.5865 MB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005467, allocations: 0 / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.138e-05/0.005508, allocations: 62.11 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-06/0.005516, allocations: 3.984 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-06/0.005521, allocations: 0.625 kB / 0.7345 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.005531, allocations: 4 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.005533, allocations: 0.7188 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.256e-06/0.005541, allocations: 5.391 kB / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005541, allocations: 0 / 0.7345 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001228/0.005664, allocations: 24.91 kB / 0.7345 GB, free: 15.02 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.0001399/0.005804, allocations: 123.9 kB / 0.7346 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.124e-05/0.005875, allocations: 20.73 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.005879, allocations: 1.656 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.116e-05/0.0059, allocations: 16.84 kB / 0.7347 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.412e-05/0.005954, allocations: 0 / 0.7347 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.006339, allocations: 107.5 kB / 0.7348 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.631e-05/0.006365, allocations: 55.36 kB / 0.7348 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.569e-05/0.006381, allocations: 0 / 0.7348 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.006408, allocations: 53.38 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of SimCode: time 3.81e-07/0.006408, allocations: 0 / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.001737/0.008145, allocations: 0.601 MB / 0.7355 GB, free: 14.03 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.764260709285736]