Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001467/0.001467, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.675/1.675, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.49/3.49, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_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_12_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.001988/0.001988, allocations: 68.3 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3967, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002848/0.3995, allocations: 1.298 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.4007, allocations: 0.5255 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.4007, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.4008, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.61e-05/0.4008, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.4014, allocations: 144.8 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.4015, allocations: 27.86 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.4015, allocations: 0 / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.4016, allocations: 15.88 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.4016, allocations: 7.984 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.4017, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.4021, allocations: 287.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.4022, allocations: 3.938 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.4022, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.4025, allocations: 139.5 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4025, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4025, allocations: 0 / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4025, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 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.0005064/0.403, allocations: 294 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.403, allocations: 8.031 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.4031, allocations: 0.9375 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4032, allocations: 110.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.4032, allocations: 4.375 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.4032, allocations: 384 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.4034, allocations: 50.19 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4034, allocations: 192 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4034, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4034, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.4035, allocations: 15.98 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.4038, allocations: 196.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4041, allocations: 46.69 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.417e-05/0.4041, allocations: 16.84 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.4042, allocations: 11.88 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4042, allocations: 30.56 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4042, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002165/0.4044, allocations: 57.64 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.4044, allocations: 59.41 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.4045, allocations: 97.84 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4046, allocations: 25.7 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.4046, allocations: 84.14 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.4046, allocations: 11.91 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.4047, allocations: 17.72 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4048, allocations: 314.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.4048, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.4049, allocations: 21.66 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.607e-05/0.4049, allocations: 33.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4049, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001003/0.405, allocations: 61.94 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.4051, allocations: 10.03 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4051, allocations: 3.984 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4051, allocations: 3.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.4051, allocations: 8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4051, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.4052, allocations: 7.891 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4052, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 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.898e-05/0.4053, allocations: 110.4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4053, allocations: 7.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4054, allocations: 65.3 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4055, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4055, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4055, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.4056, allocations: 105.3 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4056, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.4057, allocations: 12 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4057, allocations: 3.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4057, allocations: 8.062 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4057, allocations: 4 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4057, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.4058, allocations: 151.4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.4058, allocations: 7.938 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.4059, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.4059, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.4059, allocations: 7.984 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.4059, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.406, allocations: 75.28 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.406, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002407/0.4062, allocations: 27.88 kB / 1.332 GB, free: 12.13 MB / 1.029 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.0001892/0.4064, allocations: 115.2 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.4065, allocations: 27.94 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4065, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.4065, allocations: 11.98 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4068, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.4071, allocations: 118.9 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.4072, allocations: 59.41 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.009e-05/0.4072, allocations: 8 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.4072, allocations: 7.438 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4072, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Templates: time 0.003407/0.4107, allocations: 0.5477 MB / 1.332 GB, free: 11.19 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.448835770992446]