Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001301/0.001301, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002801, 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.001056/0.001056, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002619, allocations: 475.6 kB / 11.8 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.072/1.072, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1076/1.18, 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.509/2.509, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2765/2.786, allocations: 146 MB / 0.8176 GB, free: 3.852 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.706e-05, allocations: 2.312 kB / 0.819 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002837/0.002865, allocations: 1.423 MB / 0.8204 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.003787, allocations: 0.5953 MB / 0.821 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.003817, allocations: 0 / 0.821 GB, free: 440 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.00383, allocations: 3.938 kB / 0.821 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.003858, allocations: 4 kB / 0.821 GB, free: 432 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.00435, allocations: 155.2 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.452e-05/0.004424, allocations: 19.92 kB / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.004466, allocations: 0 / 0.8211 GB, free: 256 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.152e-05/0.004547, allocations: 19.92 kB / 0.8211 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.004606, allocations: 4 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.00462, allocations: 0 / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007564/0.005376, allocations: 259.4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.005396, allocations: 4 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.894e-05/0.005414, allocations: 8 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.005687, allocations: 127.6 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-05/0.005704, allocations: 4 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.144e-06/0.005706, allocations: 0 / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.005725, allocations: 0 / 0.8215 GB, free: 15.83 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.0004813/0.006206, allocations: 284.2 kB / 0.8218 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.006247, allocations: 8.031 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.006293, allocations: 8.922 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.006411, allocations: 109.7 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.006425, allocations: 384 / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.006458, allocations: 12.31 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.006568, allocations: 63.95 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006576, allocations: 4.188 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006584, allocations: 384 / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006591, allocations: 384 / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.775e-05/0.006618, allocations: 11.92 kB / 0.822 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.006745, allocations: 65.05 kB / 0.8221 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.006946, allocations: 42.53 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.006972, allocations: 16.86 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.006995, allocations: 0 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.007028, allocations: 30.56 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.007029, allocations: 0 / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0006394/0.007668, allocations: 229.3 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.007699, allocations: 55.41 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.821e-05/0.007767, allocations: 106.6 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.00778, allocations: 25.7 kB / 0.8226 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.007808, allocations: 84.08 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.007842, allocations: 27.78 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.00788, allocations: 17.7 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.51e-05/0.007975, allocations: 322.8 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.00799, allocations: 8 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.008004, allocations: 4 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.008048, allocations: 24.98 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008049, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.798e-05/0.008137, allocations: 53.67 kB / 0.8231 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.008152, allocations: 4 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.008163, allocations: 7.984 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.008178, allocations: 4.453 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.358e-05/0.008242, allocations: 8 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008246, allocations: 4 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.008263, allocations: 3.938 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.008268, allocations: 4 kB / 0.8231 GB, free: 14.02 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 6.633e-05/0.008335, allocations: 113.8 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.008347, allocations: 3.984 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.008453, allocations: 57.77 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.008457, allocations: 7.922 kB / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.008459, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008462, allocations: 0 / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.008711, allocations: 211.6 kB / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008713, allocations: 0 / 0.8235 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.459e-05/0.008778, allocations: 15.94 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.008796, allocations: 12.22 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008799, allocations: 0 / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.008809, allocations: 7.984 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.008812, allocations: 3.938 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.008814, allocations: 4 kB / 0.8235 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.008953, allocations: 152.4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008966, allocations: 4 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.949e-05/0.009026, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.009044, allocations: 11.88 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.00905, allocations: 0 / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.642e-05/0.009066, allocations: 20.88 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.009066, allocations: 3.938 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002702/0.009336, allocations: 27.88 kB / 0.8237 GB, free: 13.31 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002525/0.009589, allocations: 128.2 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.707e-05/0.009676, allocations: 28.84 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.009682, allocations: 0 / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.00971, allocations: 16.86 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.009891, allocations: 27.84 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.01096, allocations: 153.4 kB / 0.8241 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.34e-05/0.011, allocations: 55.36 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.01103, allocations: 4 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.01107, allocations: 59.36 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01107, allocations: 0 / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.002675/0.01375, allocations: 0.9927 MB / 0.8252 GB, free: 11.83 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.469776923768222]