Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001726/0.001726, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002319/0.002319, allocations: 213.6 kB / 22.24 MB, free: 5.258 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.08/3.08, allocations: 476 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 67.17 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4134, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002653/0.416, allocations: 1.274 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4171, allocations: 0.5233 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.4172, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.4172, allocations: 7.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.4172, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.4178, allocations: 143.4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.4178, allocations: 11.92 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.4179, allocations: 7.984 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.4179, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.418, allocations: 4 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.418, allocations: 3.938 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.4185, allocations: 271.5 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.4185, allocations: 3.984 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.4185, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.4188, allocations: 135.5 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4188, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4188, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4188, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 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.000473/0.4193, allocations: 278 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4194, allocations: 8.031 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.4194, allocations: 0.9375 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4195, allocations: 110.5 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4195, allocations: 4.375 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4195, allocations: 384 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4196, allocations: 34.25 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4196, allocations: 192 / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4197, allocations: 3.938 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4197, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.387e-05/0.4197, allocations: 11.94 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.4198, allocations: 97.33 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.4199, allocations: 26.59 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.4199, allocations: 12.92 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.42, allocations: 3.938 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.42, allocations: 30.56 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.42, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.4201, allocations: 53.56 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4202, allocations: 51.41 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.4203, allocations: 93.86 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4203, allocations: 25.7 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.4203, allocations: 84.14 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.4204, allocations: 4.203 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.4204, allocations: 17.72 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4205, allocations: 318.8 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.4206, allocations: 8 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.4206, allocations: 0 / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.4206, allocations: 8.859 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4206, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.573e-05/0.4207, allocations: 45.64 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.4207, allocations: 4 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.4207, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4207, allocations: 12.02 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4209, allocations: 8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004389/0.4213, allocations: 0.5821 MB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.4213, allocations: 4.031 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4213, allocations: 0 / 1.287 GB, free: 7.543 MB / 0.9825 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 8.944e-05/0.4214, allocations: 117.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.4214, allocations: 11.89 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.4216, allocations: 41.11 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4216, allocations: 8.016 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4216, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.4217, allocations: 105.3 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4217, allocations: 3.938 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.629e-05/0.4217, allocations: 11.98 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4217, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4217, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003758/0.4221, allocations: 0.5821 MB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4221, allocations: 4.094 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.4222, allocations: 69.09 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.4222, allocations: 0 / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4222, allocations: 4 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.4222, allocations: 0 / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.4223, allocations: 7.984 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.4223, allocations: 0 / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.4223, allocations: 83.22 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4223, allocations: 0 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001943/0.4225, allocations: 11.94 kB / 1.288 GB, free: 6.406 MB / 0.9825 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.0001866/0.4227, allocations: 123.2 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4229, allocations: 15.98 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4229, allocations: 4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.4229, allocations: 15.98 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.4231, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.4235, allocations: 106.4 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.817e-05/0.4235, allocations: 67.2 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.4235, allocations: 3.938 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.4236, allocations: 7.438 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4236, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of Templates: time 0.003317/0.4269, allocations: 466.8 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.357505083084106]