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.001636/0.001636, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.002044/0.002044, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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.882/2.882, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] 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.002085/0.002085, allocations: 63.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9377/0.9398, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002219/0.942, allocations: 1.282 MB / 1.188 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.9429, allocations: 0.5177 MB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.9429, allocations: 3.938 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.9429, allocations: 0.6094 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.943, allocations: 6 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.9435, allocations: 142.5 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.9435, allocations: 10.3 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.9436, allocations: 2.922 kB / 1.189 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.724e-05/0.9436, allocations: 7.625 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.844e-05/0.9436, allocations: 2.75 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.9436, allocations: 0 / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.9441, allocations: 267.7 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.9441, allocations: 8.875 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.9441, allocations: 3.016 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.9444, allocations: 124.3 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.9444, allocations: 0 / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9444, allocations: 3.938 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.9444, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 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.000329/0.9447, allocations: 276.1 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.9448, allocations: 15.03 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.9448, allocations: 0.9375 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.988e-05/0.9449, allocations: 108.8 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.9449, allocations: 1.469 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.9449, allocations: 2.094 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.945, allocations: 34.58 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.945, allocations: 1.5 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.945, allocations: 3.938 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.945, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.945, allocations: 3.875 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.9451, allocations: 106.6 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.087e-05/0.9452, allocations: 24.2 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.9452, allocations: 8.156 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.9452, allocations: 0.6562 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.9452, allocations: 36.16 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.9452, allocations: 0 / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001279/0.9454, allocations: 45.09 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.9454, allocations: 53.28 kB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.9454, allocations: 101.7 kB / 1.19 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.9455, allocations: 26.45 kB / 1.19 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.9455, allocations: 89.14 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.9455, allocations: 6.016 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.9455, allocations: 17.3 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.9456, allocations: 312.7 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.9456, allocations: 1.281 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.9456, allocations: 3.266 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.9456, allocations: 14.08 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9456, allocations: 4.906 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.252e-05/0.9457, allocations: 39.56 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9457, allocations: 6.047 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.9457, allocations: 0 / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9457, allocations: 4.875 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.9458, allocations: 14.62 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002342/0.9461, allocations: 0.5803 MB / 1.191 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.9461, allocations: 7.938 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.9461, allocations: 1.906 kB / 1.191 GB, free: 12.81 MB / 1.076 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 4.776e-05/0.9461, allocations: 119.6 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.9462, allocations: 1.719 kB / 1.191 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.9463, allocations: 48.8 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9463, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.9463, allocations: 1.766 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.9463, allocations: 0 / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.95e-05/0.9463, allocations: 101.9 kB / 1.191 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9463, allocations: 7.938 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-05/0.9464, allocations: 10.36 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9464, allocations: 1.094 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.9464, allocations: 5.094 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001768/0.9466, allocations: 0.5877 MB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9466, allocations: 0 / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.486e-05/0.9466, allocations: 70.47 kB / 1.192 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-06/0.9466, allocations: 5.75 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.9467, allocations: 1.703 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.9467, allocations: 1.062 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.9467, allocations: 1.875 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.9467, allocations: 128 / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.792e-05/0.9467, allocations: 82 kB / 1.192 GB, free: 11.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9467, allocations: 0 / 1.192 GB, free: 11.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002019/0.9469, allocations: 12.23 kB / 1.192 GB, free: 11.75 MB / 1.076 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.0001509/0.9471, allocations: 116.3 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.9472, allocations: 15.75 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9472, allocations: 0.75 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.9473, allocations: 20.61 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.9475, allocations: 11.53 kB / 1.192 GB, free: 11.63 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.9478, allocations: 105.3 kB / 1.192 GB, free: 11.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.195e-05/0.9478, allocations: 57.81 kB / 1.192 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.9478, allocations: 0.7031 kB / 1.192 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.9478, allocations: 9.625 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.9478, allocations: 0 / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of Templates: time 0.002775/0.9506, allocations: 465.6 kB / 1.193 GB, free: 11.4 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.968310203985311]