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.001504/0.001504, allocations: 80.2 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001695/0.001695, allocations: 169.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.522/1.522, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.891/2.891, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 2.154e-06/2.154e-06, allocations: 0 / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/3.034e-05, allocations: 9.234 kB / 1 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002847/0.002877, allocations: 1.488 MB / 1.002 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.004068, allocations: 0.5565 MB / 1.002 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.00412, allocations: 0 / 1.002 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.004159, allocations: 3.938 kB / 1.002 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.004221, allocations: 7.875 kB / 1.002 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.004914, allocations: 170.2 kB / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.005028, allocations: 55.77 kB / 1.002 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.005083, allocations: 4 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.005206, allocations: 31.91 kB / 1.002 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.005277, allocations: 19.97 kB / 1.002 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.005302, allocations: 4 kB / 1.002 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.005777, allocations: 275.4 kB / 1.003 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.211e-05/0.005809, allocations: 15.97 kB / 1.003 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.005846, allocations: 19.94 kB / 1.003 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.006188, allocations: 183.4 kB / 1.003 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.006197, allocations: 3.984 kB / 1.003 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.693e-06/0.006199, allocations: 0 / 1.003 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.006206, allocations: 0 / 1.003 GB, free: 3.352 MB / 0.9044 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.0007329/0.006939, allocations: 321.8 kB / 1.003 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.006986, allocations: 15.92 kB / 1.003 GB, free: 2.988 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.007039, allocations: 8.891 kB / 1.003 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.007178, allocations: 117.7 kB / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.007209, allocations: 12.38 kB / 1.003 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.00724, allocations: 4.375 kB / 1.003 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.007556, allocations: 133.6 kB / 1.003 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.007571, allocations: 192 / 1.003 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.007588, allocations: 4.375 kB / 1.003 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.007592, allocations: 4.375 kB / 1.003 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.007893, allocations: 51.89 kB / 1.004 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.00845, allocations: 252.4 kB / 1.004 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.008765, allocations: 78.53 kB / 1.004 GB, free: 2.254 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.008889, allocations: 32.78 kB / 1.004 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.008911, allocations: 3.938 kB / 1.004 GB, free: 2.215 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.008948, allocations: 38.56 kB / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.008949, allocations: 0 / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.001777/0.01073, allocations: 0.5036 MB / 1.004 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.01077, allocations: 55.41 kB / 1.004 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.01086, allocations: 101.8 kB / 1.005 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.01089, allocations: 25.7 kB / 1.005 GB, free: 1.402 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.01094, allocations: 96.11 kB / 1.005 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.01098, allocations: 43.58 kB / 1.005 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.01107, allocations: 33.7 kB / 1.005 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01122, allocations: 318.8 kB / 1.005 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.01136, allocations: 31.97 kB / 1.005 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.01151, allocations: 32.11 kB / 1.005 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.01178, allocations: 75.2 kB / 1.005 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01178, allocations: 0 / 1.005 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003636/0.01215, allocations: 117.6 kB / 1.005 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01216, allocations: 8 kB / 1.005 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01217, allocations: 3.984 kB / 1.005 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01218, allocations: 0 / 1.005 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.01239, allocations: 27.92 kB / 1.005 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.0124, allocations: 0 / 1.005 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.0125, allocations: 11.94 kB / 1.005 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.01251, allocations: 4 kB / 1.005 GB, free: 0.5898 MB / 0.9044 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 0.0001085/0.01262, allocations: 122.3 kB / 1.005 GB, free: 472 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.01266, allocations: 4 kB / 1.005 GB, free: 468 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.01306, allocations: 129.7 kB / 1.006 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01306, allocations: 0 / 1.006 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01307, allocations: 0 / 1.006 GB, free: 332 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01307, allocations: 4 kB / 1.006 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.01368, allocations: 326.1 kB / 1.006 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01368, allocations: 0 / 1.006 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.01394, allocations: 27.92 kB / 1.006 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.01394, allocations: 7.984 kB / 1.006 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01396, allocations: 0 / 1.006 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01396, allocations: 0 / 1.006 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01396, allocations: 4 kB / 1.006 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.0146, allocations: 251.3 kB / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01461, allocations: 4.031 kB / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01463, allocations: 0 / 1.006 GB, free: 15.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01476, allocations: 11.98 kB / 1.006 GB, free: 15.65 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.01479, allocations: 11.92 kB / 1.006 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.01479, allocations: 4.062 kB / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.148e-05/0.01485, allocations: 83.28 kB / 1.006 GB, free: 15.55 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01485, allocations: 3.938 kB / 1.006 GB, free: 15.55 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003006/0.01515, allocations: 43.81 kB / 1.006 GB, free: 15.5 MB / 0.92 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.0002708/0.01542, allocations: 131.1 kB / 1.006 GB, free: 15.36 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.01578, allocations: 75.95 kB / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01579, allocations: 0 / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.01595, allocations: 48.34 kB / 1.007 GB, free: 15.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.01628, allocations: 13.69 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.01697, allocations: 281.6 kB / 1.007 GB, free: 14.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.226e-05/0.01705, allocations: 83.27 kB / 1.007 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 6.315e-05/0.01711, allocations: 20.7 kB / 1.007 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.01715, allocations: 12.5 kB / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of SimCode: time 4.3e-07/0.01715, allocations: 4 kB / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of Templates: time 0.004258/0.02141, allocations: 1.141 MB / 1.008 GB, free: 13.7 MB / 0.92 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.08280398696661]