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.001174/0.001174, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001588/0.002763, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001026/0.001026, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001344/0.00237, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9606/0.9606, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1065/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.408/2.408, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2212/2.629, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.483e-05, allocations: 2.312 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002685/0.00271, allocations: 1.4 MB / 0.8204 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.003626, allocations: 0.5759 MB / 0.8209 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.003656, allocations: 4 kB / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.003667, allocations: 0 / 0.8209 GB, free: 444 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.003699, allocations: 7.875 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.004036, allocations: 147.3 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.004086, allocations: 11.94 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.004124, allocations: 7.922 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.004169, allocations: 8 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.004218, allocations: 4 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.004227, allocations: 0 / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.00452, allocations: 255.5 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.004535, allocations: 0 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.278e-05/0.004548, allocations: 8.047 kB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.004743, allocations: 131.5 kB / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.004756, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004757, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.004769, allocations: 0 / 0.8215 GB, free: 15.86 MB / 0.8073 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.0003483/0.005118, allocations: 268.3 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.005148, allocations: 8.031 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.005174, allocations: 4.938 kB / 0.8217 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.005377, allocations: 101.8 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.005388, allocations: 4.375 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.005397, allocations: 4.375 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.212e-05/0.00546, allocations: 38.19 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005466, allocations: 192 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.005471, allocations: 4.375 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.005476, allocations: 384 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.889e-06/0.005486, allocations: 3.938 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.739e-05/0.005563, allocations: 57.05 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.005606, allocations: 30.58 kB / 0.822 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.005617, allocations: 8.922 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.005632, allocations: 0 / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005652, allocations: 38.56 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.005652, allocations: 3.938 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.975e-05/0.005732, allocations: 33.7 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.005758, allocations: 51.41 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.301e-05/0.005811, allocations: 102.7 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.005819, allocations: 25.7 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.005836, allocations: 80.14 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.005859, allocations: 7.953 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.005878, allocations: 9.719 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.005945, allocations: 331 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-06/0.005951, allocations: 0 / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-06/0.005959, allocations: 11.98 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/0.005978, allocations: 12.8 kB / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00598, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.068e-05/0.00601, allocations: 33.7 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.006021, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006025, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006035, allocations: 7.984 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.00615, allocations: 4.094 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002259/0.006376, allocations: 0.5859 MB / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.006387, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.006391, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.8073 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 5.294e-05/0.006444, allocations: 117.8 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-06/0.006447, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.006522, allocations: 44.98 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006526, allocations: 7.875 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006528, allocations: 4.094 kB / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006531, allocations: 0 / 0.8234 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.4e-05/0.006585, allocations: 65.89 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006586, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.006634, allocations: 11.98 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-06/0.006641, allocations: 7.891 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.006642, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-06/0.006646, allocations: 0 / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001842/0.00683, allocations: 0.5821 MB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006831, allocations: 0 / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.138e-05/0.006873, allocations: 69.06 kB / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.00688, allocations: 0 / 0.8242 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.006887, allocations: 4 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.006898, allocations: 0 / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.0069, allocations: 0 / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.278e-06/0.006909, allocations: 4.859 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006909, allocations: 0 / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001168/0.007026, allocations: 31.86 kB / 0.8242 GB, free: 12.81 MB / 0.8073 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.0001922/0.007218, allocations: 120.3 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/0.007303, allocations: 20.84 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.007307, allocations: 0 / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.007329, allocations: 12.86 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.804e-05/0.007387, allocations: 4 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.007803, allocations: 112.7 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.449e-05/0.007827, allocations: 55.53 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.783e-05/0.007845, allocations: 8 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.007873, allocations: 47.38 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of SimCode: time 8.02e-07/0.007873, allocations: 0 / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.002133/0.01001, allocations: 0.6137 MB / 0.8252 GB, free: 11.8 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.079769354313612]