Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.000785/0.000785, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.0018, allocations: 435.8 kB / 10.33 MB, free: 368 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.001103/0.001103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002459, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9366/0.9366, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09209/1.029, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.333/2.333, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2639/2.596, allocations: 145.9 MB / 0.817 GB, free: 4.195 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.778e-05, allocations: 6.25 kB / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.0018/0.001817, allocations: 1.614 MB / 0.8199 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007041/0.002522, allocations: 0.6148 MB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.002548, allocations: 0 / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002572, allocations: 3.938 kB / 0.8205 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.002597, allocations: 7.984 kB / 0.8205 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.002927, allocations: 179.1 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.003004, allocations: 43.86 kB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.003043, allocations: 3.984 kB / 0.8208 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.003144, allocations: 47.88 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.219e-05/0.003187, allocations: 15.97 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.0032, allocations: 4 kB / 0.8208 GB, free: 280 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.003479, allocations: 259.5 kB / 0.8211 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.003494, allocations: 7.938 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.003512, allocations: 12 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.003721, allocations: 155.6 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-05/0.003736, allocations: 0 / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003736, allocations: 4 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.003753, allocations: 0 / 0.8212 GB, free: 15.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004275/0.00418, allocations: 328 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.004211, allocations: 8.625 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.004244, allocations: 8.938 kB / 0.8216 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/0.004332, allocations: 117.7 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.004367, allocations: 4.375 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.004393, allocations: 8.375 kB / 0.8217 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.004552, allocations: 130.2 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.004561, allocations: 4.188 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.00457, allocations: 4.375 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004576, allocations: 4.375 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.00461, allocations: 21.8 kB / 0.8219 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.004882, allocations: 204.1 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.00497, allocations: 54.55 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.004986, allocations: 12.86 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.005005, allocations: 4 kB / 0.8221 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.005027, allocations: 42.44 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.005028, allocations: 0 / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0006964/0.005724, allocations: 451.6 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.00575, allocations: 55.41 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.141e-05/0.005801, allocations: 110.7 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.005814, allocations: 29.7 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.005844, allocations: 92.02 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.005873, allocations: 43.67 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.005904, allocations: 25.7 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.005978, allocations: 318.8 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.005994, allocations: 8 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.006009, allocations: 16.11 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.314e-05/0.006053, allocations: 42.33 kB / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.006054, allocations: 0 / 0.8233 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 7.157e-05/0.006125, allocations: 77.61 kB / 0.8234 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.006137, allocations: 4 kB / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.006141, allocations: 0 / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.006148, allocations: 0 / 0.8234 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.006499, allocations: 35.91 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.006502, allocations: 0 / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.006524, allocations: 8 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006529, allocations: 3.938 kB / 0.8234 GB, free: 13.39 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 (13): * Single equations (assignments): 13 * 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 4.911e-05/0.006578, allocations: 113.8 kB / 0.8235 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.006597, allocations: 15.92 kB / 0.8235 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.006701, allocations: 85.67 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006702, allocations: 0 / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006704, allocations: 0 / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.006707, allocations: 0 / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.006896, allocations: 234.8 kB / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.006898, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.006975, allocations: 35.91 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.006979, allocations: 0 / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006981, allocations: 3.938 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006988, allocations: 4 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.006989, allocations: 4 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.00699, allocations: 0 / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.00711, allocations: 187.4 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.00712, allocations: 3.984 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.007163, allocations: 8 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.007177, allocations: 3.984 kB / 0.8241 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.007183, allocations: 8 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.698e-06/0.007193, allocations: 12.84 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007193, allocations: 3.938 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001629/0.007356, allocations: 51.8 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0001493/0.007505, allocations: 136.2 kB / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.007584, allocations: 50.66 kB / 0.8243 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.007588, allocations: 4 kB / 0.8243 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.007611, allocations: 28.78 kB / 0.8244 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.007755, allocations: 23.92 kB / 0.8244 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.008699, allocations: 212.8 kB / 0.8246 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.008733, allocations: 71.28 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.00877, allocations: 8.734 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.008826, allocations: 71.36 kB / 0.8247 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of SimCode: time 4.8e-07/0.008826, allocations: 0 / 0.8247 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of Templates: time 0.002891/0.01172, allocations: 1.555 MB / 0.8263 GB, free: 10.42 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.306934903375804]