Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001772/0.001772, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002306/0.002306, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.523/3.523, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002089/0.002089, allocations: 67.77 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3633, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002694/0.366, allocations: 1.316 MB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3672, allocations: 0.5255 MB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.3673, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.3673, allocations: 7.922 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.3673, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.3679, allocations: 139.4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.368, allocations: 27.86 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.036e-05/0.3681, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.3681, allocations: 11.94 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.3682, allocations: 7.984 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3682, allocations: 0 / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.3687, allocations: 267.5 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.3687, allocations: 11.92 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.3687, allocations: 4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.369, allocations: 143.5 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.369, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.733e-06/0.369, allocations: 0 / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.369, allocations: 4 kB / 1.366 GB, free: 11.07 MB / 1.061 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.000511/0.3695, allocations: 283.6 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3696, allocations: 16.02 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.3696, allocations: 0.9375 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3697, allocations: 114.4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3697, allocations: 384 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.3697, allocations: 4.375 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.3698, allocations: 38.25 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.3699, allocations: 192 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3699, allocations: 7.938 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3699, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.933e-05/0.3699, allocations: 15.92 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.3703, allocations: 204.6 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3705, allocations: 42.62 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.3705, allocations: 12.86 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3705, allocations: 11.92 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3706, allocations: 30.56 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3706, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.3707, allocations: 57.62 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3708, allocations: 59.34 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.3709, allocations: 97.86 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3709, allocations: 29.7 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3709, allocations: 84.09 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.3709, allocations: 19.89 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.371, allocations: 13.72 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3711, allocations: 314.8 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.3711, allocations: 7.984 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.3712, allocations: 21.72 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.3712, allocations: 34.02 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3712, allocations: 0 / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.575e-05/0.3713, allocations: 57.62 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3713, allocations: 15.97 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3714, allocations: 0 / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3714, allocations: 3.984 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.652e-05/0.3714, allocations: 8 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3714, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.662e-05/0.3715, allocations: 3.938 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.3715, allocations: 4.125 kB / 1.368 GB, free: 9.305 MB / 1.061 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.65e-05/0.3716, allocations: 110.9 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.3716, allocations: 15.89 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.3718, allocations: 65.3 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3718, allocations: 4 kB / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3718, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3718, allocations: 0 / 1.368 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3719, allocations: 101.3 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3719, allocations: 0 / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.372, allocations: 11.98 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.372, allocations: 3.938 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.372, allocations: 3.938 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.372, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.372, allocations: 0 / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.3721, allocations: 147.5 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.3721, allocations: 7.938 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.3721, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.3722, allocations: 4 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.3722, allocations: 11.92 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.3722, allocations: 0 / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.3723, allocations: 79.28 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3723, allocations: 0 / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002547/0.3725, allocations: 19.88 kB / 1.368 GB, free: 8.66 MB / 1.061 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.0002237/0.3728, allocations: 123.2 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.3729, allocations: 27.92 kB / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3729, allocations: 0 / 1.368 GB, free: 8.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.3729, allocations: 15.92 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.3731, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003855/0.3735, allocations: 116.5 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.969e-05/0.3736, allocations: 63.34 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.3736, allocations: 12.05 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3737, allocations: 7.438 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3737, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of Templates: time 0.003148/0.3768, allocations: 0.5083 MB / 1.369 GB, free: 7.746 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.397872228175402]