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.001491/0.001491, allocations: 74.55 kB / 19.28 MB, free: 2.09 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.0016/0.0016, allocations: 171.8 kB / 22.57 MB, free: 4.301 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.427/1.427, allocations: 177.1 MB / 202.9 MB, free: 8.207 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 3.015/3.015, allocations: 390.1 MB / 0.6342 GB, free: 15.77 MB / 0.6075 GB " [Timeout remaining time 176] 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_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.913e-06/1.913e-06, allocations: 0 / 1.002 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.779e-05/3.97e-05, allocations: 7.797 kB / 1.002 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.003014/0.003054, allocations: 1.392 MB / 1.004 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004519, allocations: 0.8559 MB / 1.004 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.74e-05/0.004556, allocations: 4 kB / 1.004 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.004579, allocations: 3.938 kB / 1.004 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.004643, allocations: 11.86 kB / 1.004 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.00533, allocations: 222.8 kB / 1.005 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.005443, allocations: 59.77 kB / 1.005 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.005491, allocations: 4 kB / 1.005 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.329e-05/0.005554, allocations: 27.91 kB / 1.005 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.005624, allocations: 19.97 kB / 1.005 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005642, allocations: 4 kB / 1.005 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006273/0.006269, allocations: 375.4 kB / 1.005 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.006297, allocations: 15.92 kB / 1.005 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.006329, allocations: 19.97 kB / 1.005 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.006811, allocations: 307.1 kB / 1.005 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.006815, allocations: 0 / 1.005 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006816, allocations: 4 kB / 1.005 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.006822, allocations: 0 / 1.005 GB, free: 10.58 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006292/0.007451, allocations: 357.2 kB / 1.006 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.007505, allocations: 12.03 kB / 1.006 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.007786, allocations: 24.86 kB / 1.006 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.007916, allocations: 109.7 kB / 1.006 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.007946, allocations: 384 / 1.006 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.007974, allocations: 8.375 kB / 1.006 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.008212, allocations: 117.6 kB / 1.006 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.008225, allocations: 192 / 1.006 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.00824, allocations: 4.375 kB / 1.006 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.008248, allocations: 4.375 kB / 1.006 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.008398, allocations: 35.84 kB / 1.006 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.008583, allocations: 125.3 kB / 1.006 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.008843, allocations: 74.53 kB / 1.006 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.008941, allocations: 36.84 kB / 1.006 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.008961, allocations: 4 kB / 1.006 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.008988, allocations: 30.56 kB / 1.006 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008989, allocations: 4 kB / 1.006 GB, free: 9.527 MB / 0.9044 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.006074/0.01506, allocations: 0.9709 MB / 1.007 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.01511, allocations: 51.41 kB / 1.007 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.01524, allocations: 137.7 kB / 1.007 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.01527, allocations: 25.7 kB / 1.008 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.01532, allocations: 88.42 kB / 1.008 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.01538, allocations: 47.62 kB / 1.008 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.01548, allocations: 37.69 kB / 1.008 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01563, allocations: 322.8 kB / 1.008 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.0159, allocations: 87.95 kB / 1.008 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.01615, allocations: 91.94 kB / 1.008 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.01668, allocations: 199.4 kB / 1.008 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01668, allocations: 0 / 1.008 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007326/0.01742, allocations: 251 kB / 1.009 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.01744, allocations: 8 kB / 1.009 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.01745, allocations: 0 / 1.009 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01747, allocations: 0 / 1.009 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.0178, allocations: 39.84 kB / 1.009 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01781, allocations: 0 / 1.009 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.01801, allocations: 11.98 kB / 1.009 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.01804, allocations: 7.984 kB / 1.009 GB, free: 7.066 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 (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 0.0001189/0.01816, allocations: 117.8 kB / 1.009 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.01819, allocations: 7.953 kB / 1.009 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.01824, allocations: 12.38 kB / 1.009 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01824, allocations: 4 kB / 1.009 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.01825, allocations: 3.938 kB / 1.009 GB, free: 6.914 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.01825, allocations: 3.984 kB / 1.009 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000924/0.01918, allocations: 390.6 kB / 1.009 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01918, allocations: 4 kB / 1.009 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.0195, allocations: 31.97 kB / 1.009 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.0195, allocations: 0 / 1.009 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.01953, allocations: 11.92 kB / 1.009 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01953, allocations: 4 kB / 1.009 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.01953, allocations: 3.938 kB / 1.009 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.02044, allocations: 363.3 kB / 1.01 GB, free: 6.066 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.02046, allocations: 12.05 kB / 1.01 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.02049, allocations: 7.938 kB / 1.01 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.02077, allocations: 11.98 kB / 1.01 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.02081, allocations: 3.984 kB / 1.01 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.02083, allocations: 11.98 kB / 1.01 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.009e-05/0.02089, allocations: 91.27 kB / 1.01 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02089, allocations: 4 kB / 1.01 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003232/0.02122, allocations: 35.94 kB / 1.01 GB, free: 5.891 MB / 0.9044 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.0002368/0.02145, allocations: 119.2 kB / 1.01 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006218/0.02208, allocations: 217.5 kB / 1.01 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02208, allocations: 0 / 1.01 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.02235, allocations: 75.88 kB / 1.01 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.02272, allocations: 8 kB / 1.01 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.02442, allocations: 392.4 kB / 1.011 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.0245, allocations: 75.33 kB / 1.011 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.02464, allocations: 24.72 kB / 1.011 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.02474, allocations: 16.48 kB / 1.011 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.02474, allocations: 0 / 1.011 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.005828/0.03057, allocations: 2.303 MB / 1.013 GB, free: 2.648 MB / 0.9044 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.468640331178904]