Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001598/0.001598, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00276/0.004358, 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.001536/0.001536, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002071/0.003608, 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 1.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1444/1.189, 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.559/2.559, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.306/2.865, 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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.687e-05/2.884e-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.BasicFlowFunction_dp_DerivativeCheck): time 0.002052/0.002081, allocations: 1.418 MB / 0.8204 GB, free: 1 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.002812, allocations: 0.607 MB / 0.821 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.00284, allocations: 4 kB / 0.821 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.068e-05/0.00285, allocations: 3.938 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.002881, allocations: 0 / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.003307, allocations: 155.2 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.003379, allocations: 23.86 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.003421, allocations: 4 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.153e-05/0.003492, allocations: 15.97 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.003553, allocations: 4 kB / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.003565, allocations: 0 / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.00392, allocations: 259.4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.003939, allocations: 4 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.003959, allocations: 7.938 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.004169, allocations: 123.7 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.004183, allocations: 0 / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004184, allocations: 0 / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.004198, allocations: 0 / 0.8215 GB, free: 15.8 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004422/0.004641, allocations: 292.2 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.004678, allocations: 12.03 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.004713, allocations: 8.875 kB / 0.8218 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.004801, allocations: 105.7 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.004811, allocations: 384 / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.004836, allocations: 8.328 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.004924, allocations: 63.95 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.00493, allocations: 192 / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.004938, allocations: 4.375 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004944, allocations: 384 / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.004968, allocations: 15.92 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.597e-05/0.005064, allocations: 57.05 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.005224, allocations: 46.55 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.005244, allocations: 12.84 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.005261, allocations: 3.984 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.005283, allocations: 38.56 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.005284, allocations: 0 / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005076/0.005792, allocations: 221.3 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.005893, allocations: 63.33 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.005945, allocations: 106.7 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005954, allocations: 25.7 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.005976, allocations: 80.14 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.006011, allocations: 31.77 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.006036, allocations: 13.72 kB / 0.8227 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/0.006112, allocations: 318.8 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.006122, allocations: 4 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.006135, allocations: 15.97 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.00617, allocations: 20.84 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.006171, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.941e-05/0.00623, allocations: 53.62 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.006246, allocations: 5.562 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.006251, allocations: 240 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.006266, allocations: 0 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.006316, allocations: 12 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.00632, allocations: 3.984 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.006331, allocations: 3.938 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006336, allocations: 4 kB / 0.8231 GB, free: 13.99 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.006389, allocations: 113.8 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-06/0.006397, allocations: 4 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.006489, allocations: 69.62 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.006491, allocations: 4 kB / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006493, allocations: 0 / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.006496, allocations: 0 / 0.8233 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.006683, allocations: 215.8 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006685, allocations: 3.938 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-05/0.00673, allocations: 12 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.127e-05/0.006741, allocations: 3.984 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.006744, allocations: 4 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.006751, allocations: 0 / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006753, allocations: 3.938 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006755, allocations: 4.031 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.006869, allocations: 160.4 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.006879, allocations: 0 / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.006924, allocations: 7.938 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.006939, allocations: 11.92 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006945, allocations: 4 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.113e-05/0.006956, allocations: 5.375 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006956, allocations: 0 / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001644/0.00712, allocations: 31.88 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/0.007318, allocations: 132.2 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.007392, allocations: 28.84 kB / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.007396, allocations: 0 / 0.8239 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.007429, allocations: 28.73 kB / 0.8239 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.007558, allocations: 7.984 kB / 0.8239 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.00827, allocations: 153.4 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.008458, allocations: 63.45 kB / 0.8241 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.008488, allocations: 3.984 kB / 0.8241 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.008536, allocations: 55.38 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of SimCode: time 9.42e-07/0.008537, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of Templates: time 0.002823/0.01136, allocations: 0.9801 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.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.6440995233133435]