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.001428/0.001428, 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.001579/0.001579, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] 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.875/2.875, allocations: 0.49 GB / 0.7958 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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.001895/0.001895, allocations: 67.97 kB / 1.155 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2903, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002347/0.2926, allocations: 1.328 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.2936, allocations: 0.5916 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.2936, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.2936, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.2937, allocations: 11.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.2941, allocations: 144.4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.2942, allocations: 19.86 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.2942, allocations: 8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.924e-05/0.2942, allocations: 8 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.2943, allocations: 15.91 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.2943, allocations: 0 / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004912/0.2948, allocations: 339.3 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2948, allocations: 3.984 kB / 1.33 GB, free: 15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.2948, allocations: 11.92 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.2951, allocations: 143.6 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2951, allocations: 7.938 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2951, allocations: 0 / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2951, allocations: 0 / 1.33 GB, free: 14.84 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.0003955/0.2955, allocations: 294 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2955, allocations: 8.031 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.2955, allocations: 0.9375 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2956, allocations: 110.5 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.2956, allocations: 4.312 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.2957, allocations: 4.375 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.535e-05/0.2958, allocations: 38.25 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.2958, allocations: 192 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2958, allocations: 11.94 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.2958, allocations: 0 / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.285e-05/0.2958, allocations: 15.98 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.2961, allocations: 220.1 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.2963, allocations: 50.5 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.2963, allocations: 12.86 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.2964, allocations: 8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2964, allocations: 34.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2964, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001575/0.2965, allocations: 57.64 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.2966, allocations: 59.39 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.2966, allocations: 101.8 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2967, allocations: 25.7 kB / 1.331 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2967, allocations: 84.14 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.2967, allocations: 11.89 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.2968, allocations: 21.7 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2969, allocations: 318.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.2969, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.2969, allocations: 21.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.297, allocations: 29.66 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.297, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.254e-05/0.2971, allocations: 65.94 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2971, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2971, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2971, allocations: 48 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.2972, allocations: 20.09 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2972, allocations: 0 / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.2972, allocations: 11.89 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.2972, allocations: 0 / 1.331 GB, free: 13.02 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.359e-05/0.2973, allocations: 126.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.2973, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.2974, allocations: 57.38 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2974, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2974, allocations: 3.984 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2974, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2976, allocations: 132.7 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2976, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.2976, allocations: 4 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.2976, allocations: 4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.2976, allocations: 0 / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2976, allocations: 4 kB / 1.332 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2976, allocations: 3.938 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2978, allocations: 151.4 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.2978, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2978, allocations: 4 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.2978, allocations: 0 / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.2979, allocations: 11.98 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2979, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.939e-05/0.2979, allocations: 79.28 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.2979, allocations: 3.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002321/0.2981, allocations: 15.94 kB / 1.332 GB, free: 12.35 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.0001607/0.2983, allocations: 127.1 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.782e-05/0.2984, allocations: 23.94 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2984, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.2984, allocations: 16.05 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.2986, allocations: 9.25 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.2989, allocations: 144.6 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.2992, allocations: 0.6768 MB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.2992, allocations: 11.44 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.2992, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.002042/0.3012, allocations: 0.6982 MB / 1.333 GB, free: 10.58 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 -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.763282355997944]