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.001649/0.001649, allocations: 82.47 kB / 19.29 MB, free: 2.207 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.00157/0.00157, allocations: 168.9 kB / 22.58 MB, free: 4.914 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.478/1.478, allocations: 177.1 MB / 202.9 MB, free: 9.129 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.979/2.979, allocations: 390.1 MB / 0.6342 GB, free: 15.91 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_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.873e-06/1.873e-06, allocations: 0 / 1.002 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.36e-05, allocations: 2.312 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.003089/0.003122, allocations: 1.374 MB / 1.004 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004757, allocations: 0.8675 MB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.004807, allocations: 0 / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.004831, allocations: 3.938 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.00489, allocations: 7.875 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.005792, allocations: 215 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.005908, allocations: 43.8 kB / 1.005 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.362e-05/0.005962, allocations: 11.97 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.613e-05/0.006048, allocations: 27.91 kB / 1.005 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.006111, allocations: 11.98 kB / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.006125, allocations: 0 / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007681/0.006893, allocations: 383.4 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.006922, allocations: 11.92 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.006952, allocations: 8 kB / 1.005 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.00754, allocations: 303.1 kB / 1.005 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007543, allocations: 4 kB / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.11e-07/0.007544, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.007554, allocations: 0 / 1.005 GB, free: 1.906 MB / 0.9512 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.0006584/0.008212, allocations: 349.2 kB / 1.006 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.008263, allocations: 15.98 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.008534, allocations: 20.91 kB / 1.006 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.008684, allocations: 113.7 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.008712, allocations: 4.375 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.008738, allocations: 4.375 kB / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.008938, allocations: 71.94 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.008948, allocations: 4.188 kB / 1.006 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.008965, allocations: 4.375 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008971, allocations: 384 / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.009112, allocations: 31.84 kB / 1.006 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.009319, allocations: 121.3 kB / 1.006 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.009684, allocations: 62.53 kB / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.009767, allocations: 24.94 kB / 1.006 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.009783, allocations: 8 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.009818, allocations: 34.56 kB / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.009819, allocations: 0 / 1.006 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.002256/0.01207, allocations: 404.8 kB / 1.007 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.01212, allocations: 55.34 kB / 1.007 GB, free: 448 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.01225, allocations: 132.2 kB / 1.007 GB, free: 304 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.01228, allocations: 29.7 kB / 1.007 GB, free: 268 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.01234, allocations: 88.08 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.01238, allocations: 19.86 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.01244, allocations: 29.7 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.01262, allocations: 322.8 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01278, allocations: 43.91 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.01293, allocations: 51.97 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.01322, allocations: 100.8 kB / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01323, allocations: 0 / 1.007 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000432/0.01366, allocations: 144.5 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.01367, allocations: 4 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.01369, allocations: 4.328 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.0137, allocations: 0 / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.01385, allocations: 19.97 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.01387, allocations: 15.88 kB / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.01397, allocations: 0 / 1.008 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01398, allocations: 4 kB / 1.008 GB, free: 15.41 MB / 0.9669 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 0.0001111/0.01409, allocations: 117.8 kB / 1.008 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.01411, allocations: 7.938 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.01415, allocations: 12.44 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01416, allocations: 0 / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.01416, allocations: 3.938 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01417, allocations: 3.938 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.01501, allocations: 315 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01501, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.01517, allocations: 23.91 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01517, allocations: 0 / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01519, allocations: 7.938 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.01519, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01519, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.01574, allocations: 240.5 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.01578, allocations: 11.97 kB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.0158, allocations: 11.92 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.01595, allocations: 4 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.016, allocations: 7.984 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.01601, allocations: 4 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.848e-05/0.01608, allocations: 95.2 kB / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01608, allocations: 0 / 1.008 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002932/0.01637, allocations: 31.94 kB / 1.008 GB, free: 14.46 MB / 0.9669 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.0002281/0.0166, allocations: 115.2 kB / 1.009 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.01698, allocations: 117.6 kB / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.01698, allocations: 0 / 1.009 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01712, allocations: 35.91 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.01748, allocations: 8 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008973/0.01837, allocations: 245.5 kB / 1.009 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01848, allocations: 75.31 kB / 1.009 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.669e-05/0.01854, allocations: 8 kB / 1.009 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.01861, allocations: 16.48 kB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of SimCode: time 7.42e-07/0.01861, allocations: 4 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of Templates: time 0.005784/0.0244, allocations: 1.77 MB / 1.011 GB, free: 12.04 MB / 0.9669 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 -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: 8.282253351062536]