Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001439/0.001439, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001599/0.001599, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.023 MB / 206.1 MB " [Timeout remaining time 179] 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 2.925/2.925, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [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.00195/0.00195, allocations: 70.16 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2985, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002296/0.3008, allocations: 1.279 MB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009434/0.3018, allocations: 0.5842 MB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.3018, allocations: 0 / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.317e-05/0.3018, allocations: 4 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.309e-05/0.3018, allocations: 7.922 kB / 1.356 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.3023, allocations: 142.2 kB / 1.356 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.3023, allocations: 7.984 kB / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.3024, allocations: 0 / 1.356 GB, free: 5.891 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.3024, allocations: 8 kB / 1.356 GB, free: 5.883 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.3024, allocations: 7.938 kB / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.3024, allocations: 0 / 1.356 GB, free: 5.875 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.303, allocations: 347.3 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.695e-06/0.303, allocations: 0 / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.303, allocations: 8 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.3032, allocations: 143.5 kB / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3032, allocations: 0 / 1.357 GB, free: 5.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3032, allocations: 4 kB / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.3032, allocations: 0 / 1.357 GB, free: 5.383 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000364/0.3036, allocations: 278 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.3036, allocations: 8.031 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.3036, allocations: 0.9375 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/0.3037, allocations: 114.5 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3037, allocations: 8.359 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.3038, allocations: 384 / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.74e-05/0.3038, allocations: 34.2 kB / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3038, allocations: 192 / 1.357 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3039, allocations: 3.938 kB / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3039, allocations: 0 / 1.357 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.3039, allocations: 7.938 kB / 1.357 GB, free: 4.875 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.304, allocations: 128.8 kB / 1.357 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.69e-05/0.3041, allocations: 18.61 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.3041, allocations: 12.92 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3041, allocations: 3.938 kB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3042, allocations: 30.56 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.3042, allocations: 0 / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.3043, allocations: 49.66 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3043, allocations: 59.44 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.3044, allocations: 89.86 kB / 1.357 GB, free: 4.398 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3044, allocations: 25.7 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.3044, allocations: 80.14 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3045, allocations: 7.953 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.3045, allocations: 17.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3046, allocations: 314.8 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.3046, allocations: 4.125 kB / 1.358 GB, free: 3.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.3047, allocations: 7.938 kB / 1.358 GB, free: 3.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.3047, allocations: 12.86 kB / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3047, allocations: 0 / 1.358 GB, free: 3.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.815e-05/0.3048, allocations: 37.69 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3048, allocations: 4 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3048, allocations: 3.938 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3048, allocations: 4 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3049, allocations: 16.09 kB / 1.358 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/0.3053, allocations: 0.5937 MB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.3053, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.3054, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.3054, allocations: 110.4 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.3054, allocations: 4.031 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.449e-05/0.3055, allocations: 53.08 kB / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3055, allocations: 0 / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.3055, allocations: 0 / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3055, allocations: 0 / 1.359 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.3056, allocations: 132.6 kB / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3056, allocations: 0 / 1.359 GB, free: 2.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.3057, allocations: 8 kB / 1.359 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3057, allocations: 3.938 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.3057, allocations: 0 / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003385/0.3061, allocations: 0.586 MB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3061, allocations: 3.938 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.3061, allocations: 69.06 kB / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.3061, allocations: 0 / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.3061, allocations: 0 / 1.359 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.533e-05/0.3062, allocations: 8.109 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.3062, allocations: 7.938 kB / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3062, allocations: 0 / 1.359 GB, free: 2.148 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.3062, allocations: 79.28 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3062, allocations: 0 / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001922/0.3064, allocations: 11.94 kB / 1.359 GB, free: 2.059 MB / 1.045 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.3066, allocations: 111.1 kB / 1.36 GB, free: 1.938 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3067, allocations: 24.08 kB / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3067, allocations: 0 / 1.36 GB, free: 1.914 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.291e-05/0.3068, allocations: 19.92 kB / 1.36 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.3069, allocations: 1.719 kB / 1.36 GB, free: 1.895 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.3072, allocations: 133.2 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.3075, allocations: 0.669 MB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.3075, allocations: 15.56 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3075, allocations: 0 / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of Templates: time 0.002229/0.3097, allocations: 0.6994 MB / 1.361 GB, free: 336 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.033026994991815]