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.001634/0.001634, 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.001836/0.001836, allocations: 212.1 kB / 22.25 MB, free: 4.859 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.574/1.574, allocations: 230.6 MB / 256 MB, free: 7.801 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.949/2.949, allocations: 476 MB / 0.7699 GB, free: 4.805 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.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.002183/0.002183, allocations: 66.27 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3454, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002544/0.348, allocations: 1.308 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.349, allocations: 0.5273 MB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.3491, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.3491, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.492e-05/0.3492, allocations: 11.91 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.3497, allocations: 153.5 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.3498, allocations: 19.88 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.3498, allocations: 7.984 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.3498, allocations: 7.984 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/0.3499, allocations: 7.938 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3499, allocations: 0 / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.3503, allocations: 263.5 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3503, allocations: 11.98 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.3504, allocations: 11.92 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3506, allocations: 131.6 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3506, allocations: 4 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3506, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3506, allocations: 0 / 1.285 GB, free: 9.543 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.0005004/0.3511, allocations: 289.8 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3512, allocations: 12.03 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.3512, allocations: 4.891 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.3513, allocations: 114.5 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3513, allocations: 384 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.3513, allocations: 384 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3515, allocations: 46.25 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3515, allocations: 4.188 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3515, allocations: 3.938 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3515, allocations: 4 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.3515, allocations: 12 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.3519, allocations: 196.6 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3521, allocations: 42.5 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.3521, allocations: 16.92 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3521, allocations: 3.938 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3522, allocations: 34.56 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3522, allocations: 4 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001739/0.3523, allocations: 61.62 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3524, allocations: 59.34 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.3525, allocations: 97.86 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3525, allocations: 25.7 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3525, allocations: 84.12 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3526, allocations: 19.83 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3526, allocations: 17.72 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3527, allocations: 314.8 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.3528, allocations: 4 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.3528, allocations: 29.7 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.3529, allocations: 29.72 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3529, allocations: 4 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001005/0.353, allocations: 57.94 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.353, allocations: 4 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.353, allocations: 11.92 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.353, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.353, allocations: 11.98 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.353, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.3531, allocations: 7.891 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.3531, allocations: 8.078 kB / 1.287 GB, free: 7.754 MB / 0.9825 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 8.16e-05/0.3532, allocations: 109.8 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.3532, allocations: 7.922 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.3533, allocations: 61.36 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3533, allocations: 4 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3533, allocations: 0 / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3533, allocations: 3.938 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.3535, allocations: 105.5 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3535, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.3535, allocations: 8 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3535, allocations: 11.88 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3535, allocations: 3.984 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3535, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3535, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3537, allocations: 143.5 kB / 1.287 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3537, allocations: 11.89 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.3537, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.3537, allocations: 4 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.3538, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3538, allocations: 4 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.3538, allocations: 83.27 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002933/0.3541, allocations: 23.88 kB / 1.288 GB, free: 7.117 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 (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.0002138/0.3543, allocations: 115.2 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3544, allocations: 27.92 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3544, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.936e-05/0.3544, allocations: 8 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3547, allocations: 2.031 kB / 1.288 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.355, allocations: 138.8 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.007e-05/0.3551, allocations: 59.3 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.3551, allocations: 4 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.3551, allocations: 11.42 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3551, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of Templates: time 0.003082/0.3582, allocations: 0.5075 MB / 1.288 GB, free: 6.195 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins/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: 9.295213313773274]