Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001927/0.001927, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002291/0.002291, allocations: 211.4 kB / 22.24 MB, free: 4.855 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.797 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.049/3.049, allocations: 476 MB / 0.7699 GB, free: 4.746 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [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.00214/0.00214, allocations: 65.7 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3888, allocations: 170 MB / 1.283 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002805/0.3916, allocations: 1.276 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3927, allocations: 0.5196 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.3927, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.3927, allocations: 3.938 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.3928, allocations: 4 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.3934, allocations: 139.4 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.3934, allocations: 19.92 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.3935, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.3935, allocations: 7.984 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.3936, allocations: 7.875 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.3936, allocations: 0 / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004737/0.394, allocations: 267.5 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.3941, allocations: 7.984 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.3941, allocations: 0 / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3943, allocations: 139.5 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3943, allocations: 0 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3943, allocations: 0 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3944, allocations: 4 kB / 1.285 GB, free: 9.445 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.0004634/0.3948, allocations: 274 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3949, allocations: 8.031 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3949, allocations: 0.9375 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.395, allocations: 110.5 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.395, allocations: 4.375 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.395, allocations: 384 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3952, allocations: 42.25 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3952, allocations: 192 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3952, allocations: 3.938 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3952, allocations: 0 / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.3952, allocations: 7.938 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.3954, allocations: 97.33 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.3954, allocations: 26.59 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.3955, allocations: 12.86 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3955, allocations: 7.984 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3955, allocations: 30.56 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3955, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001581/0.3957, allocations: 49.58 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3957, allocations: 55.39 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.3958, allocations: 97.86 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3958, allocations: 25.7 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.3959, allocations: 80.14 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.3959, allocations: 3.953 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.396, allocations: 17.97 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3961, allocations: 318.8 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.3961, allocations: 4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-06/0.3961, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/0.3962, allocations: 12.86 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3962, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.153e-05/0.3963, allocations: 41.64 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3963, allocations: 4 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3963, allocations: 0 / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3963, allocations: 4.031 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3965, allocations: 19.92 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004499/0.3969, allocations: 0.586 MB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.3969, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3969, allocations: 0 / 1.287 GB, free: 7.328 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 0.0001007/0.397, allocations: 125.6 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.397, allocations: 7.984 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.3972, allocations: 41.02 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3972, allocations: 4.125 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3972, allocations: 3.984 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3972, allocations: 0 / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.442e-05/0.3973, allocations: 97.33 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3973, allocations: 3.938 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.3973, allocations: 11.98 kB / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3973, allocations: 0 / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3974, allocations: 0 / 1.287 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003827/0.3977, allocations: 0.586 MB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3977, allocations: 3.938 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.3978, allocations: 69.16 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.3978, allocations: 8 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.3978, allocations: 0 / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.642e-05/0.3979, allocations: 4 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3979, allocations: 0 / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.3979, allocations: 0 / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.3979, allocations: 79.28 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3979, allocations: 0 / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002081/0.3981, allocations: 11.94 kB / 1.288 GB, free: 6.195 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.0001782/0.3983, allocations: 121.2 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3985, allocations: 23.98 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3985, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.3986, allocations: 11.98 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3987, allocations: 0 / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.3991, allocations: 106.3 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.245e-05/0.3992, allocations: 67.28 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.3992, allocations: 3.984 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.3992, allocations: 7.438 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3992, allocations: 0 / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of Templates: time 0.002945/0.4022, allocations: 483.2 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.607660628855228]