Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.00133/0.00133, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00222/0.00222, allocations: 213.9 kB / 23.01 MB, free: 5.125 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.953 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 2.746/2.746, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [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.002133/0.002133, allocations: 69.12 kB / 1.119 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3164, allocations: 170 MB / 1.285 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002345/0.3188, allocations: 1.318 MB / 1.286 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.3198, allocations: 0.593 MB / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.3198, allocations: 0 / 1.286 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.3198, allocations: 3.938 kB / 1.286 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.3199, allocations: 3.984 kB / 1.286 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3204, allocations: 147.4 kB / 1.287 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.749e-05/0.3204, allocations: 19.86 kB / 1.287 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.3205, allocations: 8 kB / 1.287 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.3205, allocations: 7.938 kB / 1.287 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.3206, allocations: 11.97 kB / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3206, allocations: 0 / 1.287 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005168/0.3211, allocations: 347.3 kB / 1.287 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.3211, allocations: 0 / 1.287 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.3211, allocations: 15.92 kB / 1.287 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.3214, allocations: 143.6 kB / 1.287 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3214, allocations: 0 / 1.287 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3214, allocations: 0 / 1.287 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3214, allocations: 7.938 kB / 1.287 GB, free: 0.6484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004436/0.3218, allocations: 301.8 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3218, allocations: 8.031 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.3219, allocations: 0.9375 kB / 1.287 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.322, allocations: 106.5 kB / 1.288 GB, free: 188 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.322, allocations: 4.375 kB / 1.288 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.322, allocations: 4.375 kB / 1.288 GB, free: 180 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.3221, allocations: 38.25 kB / 1.288 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3221, allocations: 192 / 1.288 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.3221, allocations: 3.938 kB / 1.288 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3221, allocations: 4 kB / 1.288 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.729e-05/0.3222, allocations: 15.98 kB / 1.288 GB, free: 112 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.3225, allocations: 224 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3227, allocations: 50.56 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.3227, allocations: 12.86 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3228, allocations: 0 / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3228, allocations: 38.56 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3228, allocations: 0 / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001833/0.323, allocations: 65.56 kB / 1.288 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.323, allocations: 55.41 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.3231, allocations: 101.8 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3231, allocations: 29.7 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.3232, allocations: 80.14 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3232, allocations: 11.84 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3232, allocations: 21.7 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3234, allocations: 318.8 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3234, allocations: 4 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.3234, allocations: 25.7 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.3235, allocations: 29.66 kB / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3235, allocations: 0 / 1.289 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.934e-05/0.3236, allocations: 61.62 kB / 1.289 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3236, allocations: 4 kB / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3236, allocations: 0 / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3236, allocations: 0 / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.3236, allocations: 15.88 kB / 1.289 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3236, allocations: 8.016 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.667e-05/0.3237, allocations: 7.953 kB / 1.289 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.3237, allocations: 0 / 1.289 GB, free: 14.83 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.3238, allocations: 117.7 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3238, allocations: 4 kB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.3239, allocations: 57.38 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3239, allocations: 3.938 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3239, allocations: 4 kB / 1.289 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3239, allocations: 3.984 kB / 1.289 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3241, allocations: 128.7 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3241, allocations: 7.984 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.3241, allocations: 4 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3241, allocations: 0 / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3241, allocations: 0 / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3241, allocations: 0 / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3241, allocations: 4 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.3243, allocations: 155.4 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.3243, allocations: 0 / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3243, allocations: 4 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.888e-05/0.3243, allocations: 0 / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3243, allocations: 8.5 kB / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.3243, allocations: 128 / 1.289 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.3244, allocations: 87.2 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3244, allocations: 0 / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002469/0.3246, allocations: 19.88 kB / 1.289 GB, free: 14.16 MB / 0.9981 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.3248, allocations: 123.2 kB / 1.289 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.714e-05/0.3249, allocations: 20 kB / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3249, allocations: 0 / 1.289 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.3249, allocations: 15.92 kB / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3251, allocations: 11.73 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.3255, allocations: 144.6 kB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.3258, allocations: 0.6807 MB / 1.29 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3258, allocations: 7.438 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.3258, allocations: 3.938 kB / 1.29 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of Templates: time 0.002227/0.328, allocations: 0.702 MB / 1.291 GB, free: 12.39 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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: 10.63419319098466]