Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.001783/0.001783, allocations: 78.73 kB / 19.18 MB, free: 2.52 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.001553/0.001553, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.968/2.968, allocations: 389 MB / 0.633 GB, free: 0.9648 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.827e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002386/0.002414, allocations: 1.296 MB / 1.001 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003472, allocations: 0.537 MB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.0035, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.003515, allocations: 0 / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.003569, allocations: 7.922 kB / 1.002 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.004134, allocations: 148.4 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.004198, allocations: 19.86 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.004239, allocations: 3.984 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.004306, allocations: 19.98 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.004356, allocations: 4 kB / 1.002 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.00437, allocations: 0 / 1.002 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004711/0.004841, allocations: 271.4 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.00486, allocations: 7.984 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.004886, allocations: 4 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.00518, allocations: 159.5 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005183, allocations: 0 / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005184, allocations: 0 / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.005189, allocations: 0 / 1.003 GB, free: 4.781 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.0004749/0.005663, allocations: 286 kB / 1.003 GB, free: 4.469 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005702, allocations: 11.97 kB / 1.003 GB, free: 4.457 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.005742, allocations: 12.83 kB / 1.003 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.005849, allocations: 101.8 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005861, allocations: 384 / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.005892, allocations: 4.375 kB / 1.003 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.006039, allocations: 71.94 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006047, allocations: 192 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006056, allocations: 384 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.00606, allocations: 384 / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.006104, allocations: 15.92 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.006263, allocations: 109.3 kB / 1.003 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.006461, allocations: 42.55 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.00651, allocations: 20.94 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.006535, allocations: 0 / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.006563, allocations: 34.56 kB / 1.003 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.006564, allocations: 3.938 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0006381/0.007202, allocations: 233.1 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.007247, allocations: 55.34 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.007343, allocations: 101.8 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.007362, allocations: 25.7 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.007408, allocations: 92.14 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.00744, allocations: 19.84 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.007486, allocations: 25.7 kB / 1.004 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.007658, allocations: 318.8 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.007686, allocations: 8 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.007711, allocations: 11.98 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.435e-05/0.007775, allocations: 32.86 kB / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.007776, allocations: 0 / 1.004 GB, free: 2.973 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001084/0.007885, allocations: 61.69 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.007899, allocations: 4 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.007904, allocations: 4 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.007921, allocations: 4 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.878e-05/0.007979, allocations: 15.92 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007986, allocations: 4.172 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.008003, allocations: 0 / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.008013, allocations: 8 kB / 1.004 GB, free: 2.867 MB / 0.9512 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 9.054e-05/0.008104, allocations: 110.3 kB / 1.004 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.008121, allocations: 7.953 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.008268, allocations: 69.8 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.008272, allocations: 3.984 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.008278, allocations: 8.453 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.008283, allocations: 4 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.008627, allocations: 259.1 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008628, allocations: 0 / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.008694, allocations: 15.98 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.008699, allocations: 4 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.00871, allocations: 3.938 kB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.008712, allocations: 4.125 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.008715, allocations: 4 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.008917, allocations: 172.4 kB / 1.005 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.008952, allocations: 20.06 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.008966, allocations: 3.938 kB / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.009038, allocations: 0 / 1.005 GB, free: 2.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.009061, allocations: 7.984 kB / 1.005 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.009066, allocations: 0 / 1.005 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.00911, allocations: 87.22 kB / 1.005 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.00911, allocations: 0 / 1.005 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002555/0.009366, allocations: 23.88 kB / 1.005 GB, free: 2 MB / 0.9512 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.0002169/0.009583, allocations: 119.1 kB / 1.005 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.009698, allocations: 35.98 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.009701, allocations: 0 / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.009734, allocations: 19.92 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.009963, allocations: 4 kB / 1.005 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.01037, allocations: 165.6 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.629e-05/0.01044, allocations: 71.28 kB / 1.005 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.01047, allocations: 4 kB / 1.005 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.01049, allocations: 12.5 kB / 1.005 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.01049, allocations: 0 / 1.005 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.003381/0.01387, allocations: 0.6259 MB / 1.006 GB, free: 0.9297 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.167352199554443]