Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001959/0.001959, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002325/0.002325, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.172/3.172, allocations: 0.49 GB / 0.7959 GB, free: 35.32 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_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.00207/0.00207, allocations: 67.06 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002292/0.3075, allocations: 1.277 MB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.3085, allocations: 0.5219 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.3086, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.3086, allocations: 3.938 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.3086, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.3091, allocations: 140.9 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.314e-05/0.3092, allocations: 11.94 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.3092, allocations: 4 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.3092, allocations: 4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.3093, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.3093, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.3097, allocations: 283.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.3097, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.3097, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.31, allocations: 135.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.31, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.162e-06/0.31, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.31, allocations: 0 / 1.329 GB, free: 14.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003863/0.3104, allocations: 278 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.3104, allocations: 12.03 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.3104, allocations: 4.891 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3105, allocations: 114.5 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3106, allocations: 384 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.812e-06/0.3106, allocations: 384 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.723e-05/0.3106, allocations: 38.2 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.3107, allocations: 192 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3107, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3107, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.3107, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.3108, allocations: 105.3 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.3109, allocations: 18.61 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.3109, allocations: 4.859 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3109, allocations: 4.062 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.3109, allocations: 34.5 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3109, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.3111, allocations: 45.62 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3111, allocations: 59.34 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.3112, allocations: 97.98 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3112, allocations: 29.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.3113, allocations: 80.14 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.3113, allocations: 3.953 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3113, allocations: 17.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3115, allocations: 314.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.3115, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.3115, allocations: 11.88 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.3115, allocations: 8.859 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3115, allocations: 4.188 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.541e-05/0.3116, allocations: 41.69 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3116, allocations: 8 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3116, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3116, allocations: 3.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3118, allocations: 8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004668/0.3122, allocations: 0.586 MB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.3123, allocations: 3.953 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3123, allocations: 8.016 kB / 1.331 GB, free: 12.42 MB / 1.029 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 9.223e-05/0.3124, allocations: 118.4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.3124, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3125, allocations: 45 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3125, allocations: 4 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3125, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3125, allocations: 0 / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.3126, allocations: 101.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3126, allocations: 3.938 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.3127, allocations: 15.92 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3127, allocations: 4.031 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.3127, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003618/0.313, allocations: 0.5782 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.313, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.131e-05/0.3131, allocations: 77.03 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-06/0.3131, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.3131, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.3131, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-06/0.3132, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3132, allocations: 4.125 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.3132, allocations: 83.27 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3132, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001954/0.3134, allocations: 11.88 kB / 1.332 GB, free: 11.29 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 (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.0001636/0.3136, allocations: 111.2 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.3137, allocations: 23.98 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3137, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.3138, allocations: 20.09 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.314, allocations: 2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.3142, allocations: 106.1 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.434e-05/0.3143, allocations: 59.34 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.493e-05/0.3143, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.506e-05/0.3143, allocations: 7.438 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3143, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of Templates: time 0.002656/0.317, allocations: 487.2 kB / 1.333 GB, free: 10.44 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.498012017997098]