Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001367/0.001367, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003262, 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.001058/0.001058, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002168, 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.9931/0.9931, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08698/1.08, allocations: 53.67 MB / 243.2 MB, free: 15.57 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.506/2.506, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2503/2.757, 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.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.154e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.00204/0.002061, allocations: 1.491 MB / 0.8198 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.003165, allocations: 0.9964 MB / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.003191, allocations: 0 / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.929e-06/0.003201, allocations: 3.938 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.003232, allocations: 11.92 kB / 0.8208 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/0.008763, allocations: 266.8 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.008867, allocations: 55.81 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.008906, allocations: 7.984 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.008982, allocations: 31.86 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.009041, allocations: 19.97 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.009054, allocations: 4 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.009618, allocations: 427.3 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.009633, allocations: 7.938 kB / 0.8216 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.197e-05/0.009655, allocations: 16 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01017, allocations: 307.1 kB / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.981e-05/0.01019, allocations: 0 / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.31e-07/0.01019, allocations: 0 / 0.8219 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.01021, allocations: 0 / 0.8219 GB, free: 15.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000424/0.01063, allocations: 359.6 kB / 0.8222 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.01067, allocations: 8.625 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.0107, allocations: 12.92 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.173e-05/0.01078, allocations: 113.7 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.01079, allocations: 8.375 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.01081, allocations: 4.375 kB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.01091, allocations: 109.6 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.01092, allocations: 192 / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.01093, allocations: 4.125 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.01094, allocations: 4 kB / 0.8225 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.01097, allocations: 8 kB / 0.8225 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.703e-05/0.01106, allocations: 72.94 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.467e-05/0.01115, allocations: 54.61 kB / 0.8226 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.01117, allocations: 12.86 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.01119, allocations: 4 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.01122, allocations: 38.5 kB / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.01122, allocations: 0 / 0.8227 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.002137/0.01336, allocations: 0.7472 MB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.01338, allocations: 51.41 kB / 0.8235 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.01346, allocations: 134.6 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.01347, allocations: 29.7 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.0135, allocations: 88.41 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.01354, allocations: 43.62 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.01359, allocations: 37.67 kB / 0.8238 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/0.01367, allocations: 318.8 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.01371, allocations: 27.98 kB / 0.8241 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.01376, allocations: 34.42 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.01385, allocations: 80.69 kB / 0.8242 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01385, allocations: 0 / 0.8242 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001499/0.014, allocations: 128 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01402, allocations: 4 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.01403, allocations: 4 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.01404, allocations: 0 / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.01717, allocations: 31.97 kB / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01718, allocations: 0 / 0.8244 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.751e-05/0.01724, allocations: 19.92 kB / 0.8244 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01725, allocations: 0 / 0.8244 GB, free: 12.4 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.455e-05/0.01732, allocations: 117.8 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.01734, allocations: 7.984 kB / 0.8245 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.01749, allocations: 98.08 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01749, allocations: 0 / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01749, allocations: 4 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.0175, allocations: 3.984 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.01778, allocations: 250.6 kB / 0.8249 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01778, allocations: 0 / 0.8249 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.01791, allocations: 35.95 kB / 0.8249 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.01792, allocations: 3.953 kB / 0.8249 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.01792, allocations: 0 / 0.8249 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01793, allocations: 8 kB / 0.8249 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01794, allocations: 7.938 kB / 0.8249 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01794, allocations: 0 / 0.8249 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.01816, allocations: 203.4 kB / 0.8251 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01818, allocations: 3.984 kB / 0.8251 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.383e-05/0.01825, allocations: 4 kB / 0.8251 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.01826, allocations: 11.92 kB / 0.8251 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01827, allocations: 7.984 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.623e-05/0.01829, allocations: 21.67 kB / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01829, allocations: 0 / 0.8251 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001789/0.01847, allocations: 63.8 kB / 0.8252 GB, free: 11.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.000172/0.01864, allocations: 152.1 kB / 0.8254 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.01877, allocations: 111.5 kB / 0.8255 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.01877, allocations: 8 kB / 0.8255 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.01881, allocations: 44.72 kB / 0.8255 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.01895, allocations: 19.98 kB / 0.8255 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02001, allocations: 276.6 kB / 0.8258 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.02005, allocations: 67.34 kB / 0.8259 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.02011, allocations: 16.73 kB / 0.8259 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.689e-05/0.02018, allocations: 71.36 kB / 0.8259 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.02018, allocations: 0 / 0.8259 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of Templates: time 0.003697/0.02388, allocations: 2.498 MB / 0.8284 GB, free: 8.207 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.339946705847979]