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.0009565/0.0009565, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001051/0.001051, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.477 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 2.464/2.464, allocations: 438.8 MB / 0.6827 GB, free: 13.53 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.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.794e-06/1.794e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.803e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002848/0.002876, allocations: 1.387 MB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003997, allocations: 0.5759 MB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.004026, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.004045, allocations: 0 / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.004102, allocations: 4 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.004645, allocations: 147.2 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.867e-05/0.004714, allocations: 19.86 kB / 0.8407 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.57e-05/0.00476, allocations: 12 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.004825, allocations: 7.984 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.004876, allocations: 7.984 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.00489, allocations: 0 / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.005353, allocations: 279.4 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.005371, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.005391, allocations: 7.984 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.005647, allocations: 159.5 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005651, allocations: 4 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005652, allocations: 0 / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005656, allocations: 4 kB / 0.8412 GB, free: 11.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003335/0.00599, allocations: 256.6 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.006029, allocations: 8.625 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.006065, allocations: 12.92 kB / 0.8415 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.006162, allocations: 109.7 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.006175, allocations: 8.312 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.006194, allocations: 384 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.006294, allocations: 67.89 kB / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006303, allocations: 192 / 0.8416 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.006311, allocations: 8.375 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006318, allocations: 384 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.006343, allocations: 11.92 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.006461, allocations: 64.98 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.006627, allocations: 38.61 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.006648, allocations: 8.859 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.006665, allocations: 4 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.006694, allocations: 34.5 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.006695, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005789/0.007274, allocations: 225.3 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.007303, allocations: 51.41 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.409e-05/0.007367, allocations: 106.7 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.00738, allocations: 29.7 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.007406, allocations: 80.14 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.007437, allocations: 19.8 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.007473, allocations: 25.69 kB / 0.8423 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.334e-05/0.007566, allocations: 314.8 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.007581, allocations: 4 kB / 0.8426 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.007594, allocations: 8 kB / 0.8426 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.007637, allocations: 28.77 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.007638, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.99e-05/0.007718, allocations: 53.69 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.007733, allocations: 4 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.007738, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007751, allocations: 0 / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.007806, allocations: 15.98 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.007809, allocations: 0 / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.007826, allocations: 3.938 kB / 0.8427 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.007831, allocations: 0 / 0.8427 GB, free: 9.695 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 (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 6.242e-05/0.007893, allocations: 121.8 kB / 0.8428 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.007905, allocations: 4.062 kB / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.00801, allocations: 62.02 kB / 0.8429 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008013, allocations: 3.938 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.008015, allocations: 0 / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.008018, allocations: 4 kB / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.008247, allocations: 211.5 kB / 0.8431 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.008251, allocations: 4 kB / 0.8431 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.008312, allocations: 12.5 kB / 0.8431 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.008314, allocations: 4.031 kB / 0.8431 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008324, allocations: 8 kB / 0.8431 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008327, allocations: 0 / 0.8431 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008328, allocations: 0 / 0.8431 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.008471, allocations: 168.2 kB / 0.8433 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.008491, allocations: 4 kB / 0.8433 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008505, allocations: 7.969 kB / 0.8433 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.109e-05/0.008566, allocations: 0 / 0.8433 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.008583, allocations: 7.938 kB / 0.8433 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.008589, allocations: 0 / 0.8433 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.543e-05/0.008604, allocations: 12.86 kB / 0.8433 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008604, allocations: 4.031 kB / 0.8433 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002483/0.008852, allocations: 19.92 kB / 0.8434 GB, free: 8.988 MB / 0.8073 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.0001746/0.009027, allocations: 104.2 kB / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.009112, allocations: 28.84 kB / 0.8435 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.009116, allocations: 4 kB / 0.8435 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.00914, allocations: 20.97 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.009309, allocations: 8 kB / 0.8435 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.01001, allocations: 177.5 kB / 0.8437 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.01005, allocations: 66.8 kB / 0.8438 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.01009, allocations: 4 kB / 0.8438 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.01014, allocations: 59.38 kB / 0.8438 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.01014, allocations: 0 / 0.8438 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of Templates: time 0.003079/0.01322, allocations: 0.7174 MB / 0.8445 GB, free: 7.785 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] 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","",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.280071526765823]