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.001363/0.001363, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001484/0.001484, allocations: 162.7 kB / 23.01 MB, free: 4.594 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.765/2.765, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002973/0.002973, allocations: 63.91 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.074, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001991/1.076, allocations: 1.273 MB / 1.155 GB, free: 32.44 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008175/1.077, allocations: 0.5168 MB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.32e-05/1.077, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.045e-05/1.077, allocations: 3.938 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.856e-05/1.077, allocations: 3.188 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/1.077, allocations: 141.1 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.572e-05/1.077, allocations: 9 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/1.077, allocations: 3.281 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/1.077, allocations: 2.656 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/1.078, allocations: 14.42 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/1.078, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/1.078, allocations: 267.9 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/1.078, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/1.078, allocations: 2.781 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/1.078, allocations: 135.5 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.078, allocations: 5.938 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.078, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.078, allocations: 0 / 1.156 GB, free: 31.92 MB / 1.076 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.0003295/1.079, allocations: 270.9 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.079, allocations: 7.75 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/1.079, allocations: 8.891 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/1.079, allocations: 104.9 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.079, allocations: 7.156 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/1.079, allocations: 384 / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/1.079, allocations: 32.3 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.079, allocations: 192 / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/1.079, allocations: 3.938 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.079, allocations: 2.5 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/1.079, allocations: 6.875 kB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/1.079, allocations: 103.1 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/1.079, allocations: 23.67 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/1.079, allocations: 11.48 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/1.079, allocations: 0 / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/1.079, allocations: 37.12 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/1.079, allocations: 3.984 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001292/1.079, allocations: 49.69 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/1.079, allocations: 55.34 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/1.079, allocations: 92.73 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-06/1.079, allocations: 25.95 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.805e-05/1.079, allocations: 90.34 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/1.079, allocations: 3.953 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/1.079, allocations: 16.84 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/1.079, allocations: 310.8 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/1.079, allocations: 6.906 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/1.079, allocations: 2.969 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.669e-05/1.079, allocations: 17.7 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.079, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.979e-05/1.079, allocations: 38.48 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/1.08, allocations: 6.938 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/1.08, allocations: 3 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.08, allocations: 3.938 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/1.08, allocations: 9.25 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002463/1.08, allocations: 0.5875 MB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/1.08, allocations: 7.891 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/1.08, allocations: 0 / 1.158 GB, free: 29.94 MB / 1.076 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.087e-05/1.08, allocations: 124 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-06/1.08, allocations: 4.094 kB / 1.158 GB, free: 29.81 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.23e-05/1.08, allocations: 45.03 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.08, allocations: 0 / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.08, allocations: 0 / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/1.08, allocations: 2.844 kB / 1.158 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.924e-05/1.08, allocations: 103.7 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.08, allocations: 3.938 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.918e-05/1.08, allocations: 6.031 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/1.08, allocations: 3.156 kB / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/1.08, allocations: 0 / 1.158 GB, free: 29.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000171/1.08, allocations: 0.5883 MB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.08, allocations: 0 / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.38e-05/1.08, allocations: 67.95 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-06/1.08, allocations: 3.938 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/1.08, allocations: 2.938 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/1.08, allocations: 0 / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/1.081, allocations: 0 / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/1.081, allocations: 0 / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.849e-05/1.081, allocations: 81.5 kB / 1.159 GB, free: 28.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 4.219 kB / 1.159 GB, free: 28.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001894/1.081, allocations: 20.97 kB / 1.159 GB, free: 28.88 MB / 1.076 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.000133/1.081, allocations: 107 kB / 1.159 GB, free: 28.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001616/1.081, allocations: 21.3 kB / 1.159 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.081, allocations: 0 / 1.159 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/1.081, allocations: 13.44 kB / 1.159 GB, free: 28.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/1.081, allocations: 10.88 kB / 1.159 GB, free: 28.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/1.082, allocations: 107.5 kB / 1.159 GB, free: 28.66 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/1.082, allocations: 57.58 kB / 1.159 GB, free: 28.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.363e-05/1.082, allocations: 0 / 1.159 GB, free: 28.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/1.082, allocations: 11.31 kB / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.082, allocations: 0 / 1.159 GB, free: 28.58 MB / 1.076 GB Notification: Performance of Templates: time 0.002702/1.084, allocations: 470 kB / 1.16 GB, free: 28.5 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.149358637980185]