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.0007858/0.0007858, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001854, 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.0007253/0.0007253, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009603/0.001686, 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.9416/0.9416, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09662/1.038, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.331/2.331, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3607/2.691, allocations: 145.9 MB / 0.817 GB, free: 4.227 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.723e-06/1.723e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.337e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003069/0.003092, allocations: 1.419 MB / 0.8197 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008723/0.003964, allocations: 0.5915 MB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.003991, allocations: 0 / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.004002, allocations: 3.984 kB / 0.8203 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.51e-05/0.004027, allocations: 3.938 kB / 0.8203 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.004555, allocations: 147.2 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.346e-05/0.004629, allocations: 23.86 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.004665, allocations: 4 kB / 0.8205 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.004736, allocations: 23.92 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.004788, allocations: 7.984 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.0048, allocations: 0 / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004368/0.005237, allocations: 251.5 kB / 0.8208 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.005252, allocations: 4 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.005273, allocations: 7.938 kB / 0.8208 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.005549, allocations: 131.6 kB / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.775e-05/0.005567, allocations: 0 / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.243e-06/0.005568, allocations: 0 / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.005597, allocations: 0 / 0.8209 GB, free: 228 kB / 0.7917 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.0005756/0.006172, allocations: 284.2 kB / 0.8212 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.006224, allocations: 8.625 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.873e-05/0.006273, allocations: 8.922 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006396, allocations: 101.8 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.006413, allocations: 4.375 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.006447, allocations: 8.328 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.00658, allocations: 67.89 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.006591, allocations: 192 / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.006605, allocations: 4.312 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.006612, allocations: 384 / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.00665, allocations: 7.938 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.006769, allocations: 77.02 kB / 0.8215 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.006968, allocations: 38.61 kB / 0.8215 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.006992, allocations: 8.859 kB / 0.8215 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.007017, allocations: 7.984 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.00705, allocations: 34.56 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.007052, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0006266/0.007678, allocations: 221.2 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.00771, allocations: 55.41 kB / 0.8218 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.227e-05/0.007772, allocations: 106.7 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.007787, allocations: 29.7 kB / 0.8219 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.007814, allocations: 84.14 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.007845, allocations: 15.8 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.00788, allocations: 21.72 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.007982, allocations: 322.8 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.007997, allocations: 4 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.008011, allocations: 4 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.008057, allocations: 28.78 kB / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008059, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.477e-05/0.008144, allocations: 53.67 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.008162, allocations: 4 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008168, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.00818, allocations: 0 / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.803e-05/0.008248, allocations: 15.98 kB / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.008251, allocations: 0 / 0.8225 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.008269, allocations: 7.938 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008276, allocations: 4 kB / 0.8225 GB, free: 14.43 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.319e-05/0.008339, allocations: 109.8 kB / 0.8226 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.008352, allocations: 4 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.00846, allocations: 69.97 kB / 0.8226 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.008462, allocations: 4 kB / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.008464, allocations: 0 / 0.8227 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008467, allocations: 3.938 kB / 0.8227 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.008709, allocations: 215.6 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.008711, allocations: 0 / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.008787, allocations: 15.98 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.008814, allocations: 0 / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.008819, allocations: 4 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.008827, allocations: 192 / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.008832, allocations: 7.969 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008834, allocations: 4 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.008975, allocations: 160.3 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.008985, allocations: 0 / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.009052, allocations: 11.98 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.009067, allocations: 3.938 kB / 0.8231 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.009074, allocations: 4 kB / 0.8231 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.222e-05/0.009086, allocations: 5.375 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009086, allocations: 0 / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002281/0.009314, allocations: 39.86 kB / 0.8231 GB, free: 13.71 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.0002086/0.009523, allocations: 128.2 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.009606, allocations: 24.8 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.009615, allocations: 8 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/0.009636, allocations: 24.77 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.009779, allocations: 7.938 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.01094, allocations: 157.4 kB / 0.8234 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.399e-05/0.01098, allocations: 55.42 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.01102, allocations: 8 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.01107, allocations: 59.34 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of SimCode: time 1.133e-06/0.01107, allocations: 4 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.003654/0.01473, allocations: 0.9831 MB / 0.8245 GB, free: 12.24 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251805487088859]