Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.0007462/0.0007462, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009685/0.001715, 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.0006936/0.0006936, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009373/0.001631, 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.9298/0.9298, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09699/1.027, 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.303/2.303, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2308/2.534, allocations: 145.9 MB / 0.817 GB, free: 4.211 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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.446e-05, allocations: 8.703 kB / 0.8184 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001897/0.001911, allocations: 1.42 MB / 0.8197 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.002696, allocations: 0.6109 MB / 0.8203 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.002715, allocations: 0 / 0.8203 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.006e-05/0.002725, allocations: 3.938 kB / 0.8203 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.018e-05/0.002745, allocations: 3.938 kB / 0.8203 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005447/0.008192, allocations: 147.2 kB / 0.8205 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.204e-05/0.008254, allocations: 27.86 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.008287, allocations: 4 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.008349, allocations: 15.97 kB / 0.8205 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.008398, allocations: 11.94 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.008408, allocations: 0 / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.00885, allocations: 327.3 kB / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.008861, allocations: 0 / 0.8209 GB, free: 252 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.008876, allocations: 4 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.009096, allocations: 135.6 kB / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.689e-05/0.009113, allocations: 0 / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of FrontEnd: time 7.82e-07/0.009113, allocations: 0 / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.009131, allocations: 0 / 0.821 GB, free: 112 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.0004119/0.009543, allocations: 292.2 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.009575, allocations: 8.625 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.009605, allocations: 4.938 kB / 0.8213 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.009693, allocations: 105.8 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.009709, allocations: 384 / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.009735, allocations: 12.33 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.054e-05/0.009826, allocations: 63.95 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.009833, allocations: 192 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.009839, allocations: 384 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.009844, allocations: 384 / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.849e-05/0.009873, allocations: 19.86 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.009973, allocations: 68.98 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.01013, allocations: 34.61 kB / 0.8216 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.01015, allocations: 16.83 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.01017, allocations: 4 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.0102, allocations: 30.56 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.0102, allocations: 0 / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004974/0.01069, allocations: 225.2 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.01073, allocations: 59.41 kB / 0.8219 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.01078, allocations: 106.7 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.01079, allocations: 25.7 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.01082, allocations: 80.14 kB / 0.8221 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.01085, allocations: 23.84 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.01088, allocations: 21.7 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.01096, allocations: 314.8 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.01097, allocations: 4 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.186e-05/0.01098, allocations: 11.98 kB / 0.8225 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.01102, allocations: 20.84 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01102, allocations: 4 kB / 0.8225 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.937e-05/0.01108, allocations: 49.62 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01109, allocations: 10.48 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.0111, allocations: 0 / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/0.0111, allocations: 0 / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.186e-05/0.01115, allocations: 12 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01115, allocations: 0 / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.01116, allocations: 7.938 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.01117, allocations: 4 kB / 0.8226 GB, free: 14.31 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.028e-05/0.01122, allocations: 105.8 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.01123, allocations: 7.984 kB / 0.8227 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.478e-05/0.01131, allocations: 73.92 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01131, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01132, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01132, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.01151, allocations: 219.6 kB / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01151, allocations: 192 / 0.8229 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.01156, allocations: 16 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.01158, allocations: 4 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01158, allocations: 3.938 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.01159, allocations: 3.984 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01159, allocations: 7.969 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01159, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.01172, allocations: 164.3 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.01173, allocations: 0 / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.012e-05/0.01178, allocations: 8 kB / 0.8231 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.01179, allocations: 3.938 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.0118, allocations: 4 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.087e-05/0.01181, allocations: 9.359 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002276/0.01204, allocations: 39.81 kB / 0.8232 GB, free: 13.59 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.0001798/0.01222, allocations: 136.2 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.01229, allocations: 28.78 kB / 0.8234 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.0123, allocations: 4 kB / 0.8234 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.01231, allocations: 16.86 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.01243, allocations: 7.984 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.0133, allocations: 161.4 kB / 0.8235 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.01333, allocations: 63.41 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.01335, allocations: 7.984 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.01339, allocations: 59.38 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.01339, allocations: 0 / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of Templates: time 0.002663/0.01605, allocations: 1.063 MB / 0.8247 GB, free: 12.03 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.011919396929443]