Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 117.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 248.5 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 1.057 GB, free: 2.051 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2925, allocations: 160.7 MB / 1.214 GB, free: 1.023 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002357/0.2948, allocations: 1.261 MB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2958, allocations: 0.5877 MB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.2959, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.2959, allocations: 0 / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.2959, allocations: 3.938 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.2964, allocations: 147 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.071e-05/0.2965, allocations: 23.91 kB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.2965, allocations: 0 / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.2965, allocations: 4 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.2966, allocations: 4 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.2966, allocations: 0 / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005486/0.2971, allocations: 343.3 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2971, allocations: 7.922 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.2971, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.2974, allocations: 143.5 kB / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2974, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2974, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2974, allocations: 0 / 1.217 GB, free: 14.5 MB / 0.9669 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.0004337/0.2978, allocations: 359.1 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2979, allocations: 16.03 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.2979, allocations: 0.9375 kB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.298, allocations: 160.4 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.298, allocations: 4.312 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.298, allocations: 4.375 kB / 1.217 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.882e-05/0.2981, allocations: 30.27 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2981, allocations: 4.172 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.2982, allocations: 7.938 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2982, allocations: 0 / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.2982, allocations: 11.94 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.2984, allocations: 141.7 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.619e-05/0.2984, allocations: 30.58 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.2984, allocations: 9.656 kB / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.2985, allocations: 0 / 1.217 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2985, allocations: 30.56 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.2985, allocations: 4 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001412/0.2986, allocations: 49.58 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2987, allocations: 51.41 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.2987, allocations: 97.84 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2988, allocations: 29.7 kB / 1.217 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.2988, allocations: 80.14 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2988, allocations: 3.953 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2989, allocations: 13.97 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.299, allocations: 318.8 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.299, allocations: 3.984 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.299, allocations: 7.938 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.299, allocations: 8.859 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.299, allocations: 0 / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.867e-05/0.2991, allocations: 49.59 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2991, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2991, allocations: 4.031 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2991, allocations: 4 kB / 1.218 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2993, allocations: 11.98 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/0.2997, allocations: 0.5782 MB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.2997, allocations: 4 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2997, allocations: 0 / 1.219 GB, free: 12.14 MB / 0.9669 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 8.881e-05/0.2998, allocations: 121.9 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.057e-06/0.2998, allocations: 7.922 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.2999, allocations: 44.81 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2999, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.2999, allocations: 0 / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2999, allocations: 4 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.3, allocations: 153.5 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.3001, allocations: 11.98 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.3001, allocations: 7.969 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3001, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.3005, allocations: 0.5859 MB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3005, allocations: 3.938 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.935e-05/0.3006, allocations: 65.25 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.3006, allocations: 81.14 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.3006, allocations: 4 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.3007, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.3007, allocations: 3.938 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3007, allocations: 0 / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.3007, allocations: 83.27 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3007, allocations: 0 / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001856/0.3009, allocations: 4 kB / 1.22 GB, free: 10.84 MB / 0.9669 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.0001698/0.3011, allocations: 123.2 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.3012, allocations: 23.94 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3012, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.059e-05/0.3013, allocations: 11.98 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3015, allocations: 4 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3018, allocations: 127.8 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3021, allocations: 0.6768 MB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.3021, allocations: 7.438 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3021, allocations: 3.938 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of Templates: time 0.00242/0.3045, allocations: 0.6896 MB / 1.221 GB, free: 9.113 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.336475390940905]