Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001125/0.001125, allocations: 76.25 kB / 20.03 MB, free: 4.496 MB / 18.57 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.0008321/0.0008321, allocations: 169.9 kB / 23.33 MB, free: 1.191 MB / 18.57 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.891/0.891, allocations: 177.2 MB / 203.7 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.807/1.807, allocations: 390.1 MB / 0.635 GB, free: 11.55 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/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.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.052e-05, allocations: 6.312 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001507/0.001527, allocations: 1.372 MB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008647/0.002392, allocations: 0.8607 MB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.002425, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.002445, allocations: 7.922 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.002489, allocations: 11.88 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.002944, allocations: 222.8 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.003014, allocations: 43.8 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.003054, allocations: 7.984 kB / 1.005 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.00311, allocations: 23.97 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.003158, allocations: 19.91 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003171, allocations: 8 kB / 1.006 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.003526, allocations: 375.4 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003544, allocations: 11.97 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.003567, allocations: 15.94 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.003859, allocations: 295.1 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003861, allocations: 4 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003862, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.003866, allocations: 0 / 1.006 GB, free: 7.551 MB / 0.9636 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.0006026/0.004469, allocations: 345.3 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.00451, allocations: 8.031 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.004684, allocations: 24.91 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004795, allocations: 117.3 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.004823, allocations: 4.375 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.004847, allocations: 4.375 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.005013, allocations: 75.94 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005024, allocations: 192 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.005036, allocations: 384 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.005041, allocations: 384 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.005128, allocations: 35.84 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.005276, allocations: 121.3 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.005501, allocations: 58.64 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.706e-05/0.005548, allocations: 24.84 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.005563, allocations: 7.922 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.005583, allocations: 38.56 kB / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.005584, allocations: 0 / 1.007 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001125/0.006709, allocations: 408.8 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.006742, allocations: 55.34 kB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.006818, allocations: 126 kB / 1.008 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.006833, allocations: 29.7 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.006863, allocations: 84.14 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.006887, allocations: 27.8 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.006932, allocations: 33.7 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.869e-05/0.00702, allocations: 314.8 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.007106, allocations: 47.97 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.007186, allocations: 47.97 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.007349, allocations: 99.44 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00735, allocations: 0 / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002169/0.007567, allocations: 153.5 kB / 1.008 GB, free: 5.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.007581, allocations: 4 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.007597, allocations: 4 kB / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.007611, allocations: 0 / 1.008 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.007687, allocations: 16.31 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.007693, allocations: 3.938 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.007736, allocations: 7.984 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.007746, allocations: 4 kB / 1.008 GB, free: 5.059 MB / 0.9636 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 (8): * Single equations (assignments): 7 * 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 6.852e-05/0.007815, allocations: 109.8 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.007825, allocations: 11.95 kB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.007862, allocations: 20.34 kB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.007863, allocations: 0 / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.00787, allocations: 3.938 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.007875, allocations: 4 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.00831, allocations: 311.1 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.008312, allocations: 0 / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.008383, allocations: 27.91 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.008385, allocations: 4.031 kB / 1.009 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.008395, allocations: 3.938 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008396, allocations: 0 / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.008398, allocations: 4 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.00868, allocations: 236.2 kB / 1.009 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.008703, allocations: 11.97 kB / 1.009 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008719, allocations: 3.938 kB / 1.009 GB, free: 4.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.008782, allocations: 11.98 kB / 1.009 GB, free: 4.246 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.008803, allocations: 11.98 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008809, allocations: 4 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.008844, allocations: 95.27 kB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008844, allocations: 0 / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001716/0.009016, allocations: 23.94 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001311/0.009147, allocations: 115.2 kB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.009363, allocations: 113.6 kB / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009364, allocations: 0 / 1.009 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.009428, allocations: 39.91 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.00963, allocations: 10.06 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.01013, allocations: 253.8 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.763e-05/0.01017, allocations: 75.33 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.01022, allocations: 11.98 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.01025, allocations: 12.48 kB / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of SimCode: time 4.4e-07/0.01025, allocations: 0 / 1.01 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.00293/0.01318, allocations: 1.761 MB / 1.012 GB, free: 1.695 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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: 5.168194422498345]