Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.0008517/0.0008517, allocations: 79.75 kB / 20.08 MB, free: 4.168 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.001168/0.001168, allocations: 156.9 kB / 23.51 MB, free: 0.75 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.9303/0.9303, allocations: 177.1 MB / 204 MB, free: 5.391 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.312/2.312, allocations: 439.8 MB / 0.6839 GB, free: 12.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.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.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.469e-05, allocations: 5.688 kB / 0.8403 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.00186/0.001885, allocations: 1.439 MB / 0.8417 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007475/0.002632, allocations: 0.5915 MB / 0.8423 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.002659, allocations: 0 / 0.8423 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.002675, allocations: 0 / 0.8423 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.002716, allocations: 15.84 kB / 0.8423 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005401/0.003256, allocations: 147.3 kB / 0.8424 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.003317, allocations: 23.88 kB / 0.8424 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.003349, allocations: 7.984 kB / 0.8425 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.003402, allocations: 4 kB / 0.8425 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.003446, allocations: 11.97 kB / 0.8425 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.003457, allocations: 0 / 0.8425 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.003816, allocations: 335.2 kB / 0.8428 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.003832, allocations: 3.984 kB / 0.8428 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.003847, allocations: 4 kB / 0.8428 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.004045, allocations: 159.5 kB / 0.843 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004049, allocations: 4 kB / 0.843 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.00405, allocations: 4 kB / 0.843 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.004053, allocations: 0 / 0.843 GB, free: 9.852 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.0002866/0.00434, allocations: 260.2 kB / 0.8432 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.004369, allocations: 8.031 kB / 0.8432 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.00439, allocations: 8.922 kB / 0.8432 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.656e-05/0.004457, allocations: 105.8 kB / 0.8433 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.004466, allocations: 384 / 0.8433 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.004486, allocations: 8.328 kB / 0.8433 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.433e-05/0.00456, allocations: 63.95 kB / 0.8434 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004567, allocations: 4.125 kB / 0.8434 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.004573, allocations: 384 / 0.8434 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.004578, allocations: 4.375 kB / 0.8434 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.004598, allocations: 11.92 kB / 0.8434 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.976e-05/0.004678, allocations: 65.03 kB / 0.8435 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.004806, allocations: 38.59 kB / 0.8435 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.004822, allocations: 16.8 kB / 0.8435 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.004836, allocations: 0 / 0.8435 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.004855, allocations: 30.56 kB / 0.8436 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004856, allocations: 0 / 0.8436 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004566/0.005312, allocations: 237.1 kB / 0.8438 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.00534, allocations: 55.41 kB / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.498e-05/0.005385, allocations: 102.7 kB / 0.8439 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.005396, allocations: 25.7 kB / 0.844 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.005415, allocations: 80.14 kB / 0.844 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.00544, allocations: 23.84 kB / 0.8441 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.005465, allocations: 21.66 kB / 0.8441 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.005533, allocations: 318.8 kB / 0.8444 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.005543, allocations: 12 kB / 0.8444 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-06/0.005553, allocations: 4 kB / 0.8444 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.005583, allocations: 28.78 kB / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.005584, allocations: 0 / 0.8444 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.198e-05/0.005636, allocations: 45.69 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005648, allocations: 4 kB / 0.8445 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005652, allocations: 0 / 0.8445 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.005662, allocations: 7.984 kB / 0.8445 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.879e-05/0.005701, allocations: 8 kB / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005703, allocations: 0 / 0.8445 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.005714, allocations: 7.938 kB / 0.8445 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.005718, allocations: 0 / 0.8445 GB, free: 8.086 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 5.159e-05/0.005769, allocations: 121.8 kB / 0.8446 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.005776, allocations: 7.984 kB / 0.8446 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.443e-05/0.00585, allocations: 53.81 kB / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.005852, allocations: 0 / 0.8447 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.005855, allocations: 4.125 kB / 0.8447 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.005858, allocations: 0 / 0.8447 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.006025, allocations: 211.6 kB / 0.8449 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006026, allocations: 0 / 0.8449 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.006067, allocations: 19.98 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.006069, allocations: 0.5156 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.006073, allocations: 4.031 kB / 0.8449 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006076, allocations: 4 kB / 0.8449 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.006077, allocations: 3.938 kB / 0.8449 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.006187, allocations: 164.3 kB / 0.8451 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.006202, allocations: 0 / 0.8451 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.006212, allocations: 7.984 kB / 0.8451 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.319e-05/0.006246, allocations: 0 / 0.8451 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.00626, allocations: 11.92 kB / 0.8451 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.006264, allocations: 4 kB / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.346e-06/0.006272, allocations: 8.844 kB / 0.8451 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006272, allocations: 0 / 0.8451 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001612/0.006434, allocations: 43.84 kB / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001666/0.0066, allocations: 128.2 kB / 0.8453 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.00666, allocations: 32.78 kB / 0.8453 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.006663, allocations: 0 / 0.8453 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.006676, allocations: 16.8 kB / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000105/0.006781, allocations: 11.45 kB / 0.8453 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.007184, allocations: 189.5 kB / 0.8455 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.007214, allocations: 55.36 kB / 0.8455 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.357e-05/0.007237, allocations: 12.36 kB / 0.8456 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.007278, allocations: 55.38 kB / 0.8456 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.007279, allocations: 0 / 0.8456 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of Templates: time 0.002501/0.00978, allocations: 1.072 MB / 0.8467 GB, free: 5.785 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_inv_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.005916204303503]