Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001013/0.001013, allocations: 80.89 kB / 19.94 MB, free: 4.551 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.00103/0.00103, allocations: 181 kB / 23.36 MB, free: 1.137 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.9767/0.9767, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.397/2.397, allocations: 438.8 MB / 0.6826 GB, free: 13.63 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.128e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002684/0.002706, allocations: 1.398 MB / 0.84 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009801/0.003686, allocations: 0.5758 MB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.003712, allocations: 0 / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.003731, allocations: 3.984 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.003773, allocations: 0 / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.004295, allocations: 147.2 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.004358, allocations: 19.94 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.004399, allocations: 11.98 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.004461, allocations: 7.938 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.004508, allocations: 7.984 kB / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.00452, allocations: 0 / 0.8408 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004399/0.00496, allocations: 283.3 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.004975, allocations: 0 / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.004993, allocations: 8 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.005247, allocations: 155.5 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.00525, allocations: 4 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.72e-07/0.005251, allocations: 4 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.005254, allocations: 0 / 0.8412 GB, free: 11.55 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.0003161/0.005571, allocations: 260.6 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.005608, allocations: 8.625 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.005638, allocations: 4.938 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.904e-05/0.005727, allocations: 101.8 kB / 0.8416 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.005741, allocations: 8.359 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005759, allocations: 4.359 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.005854, allocations: 71.89 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.005863, allocations: 4.172 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005871, allocations: 384 / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.005877, allocations: 4.375 kB / 0.8416 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.236e-05/0.005899, allocations: 7.938 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.006008, allocations: 68.88 kB / 0.8417 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.006158, allocations: 38.61 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.006179, allocations: 8.859 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.006194, allocations: 4 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.006219, allocations: 38.58 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.00622, allocations: 0 / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.000518/0.006738, allocations: 225.2 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.006764, allocations: 51.41 kB / 0.8421 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.006823, allocations: 102.7 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006838, allocations: 29.7 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.006863, allocations: 80.14 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.006893, allocations: 23.78 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.006928, allocations: 21.7 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.007005, allocations: 314.8 kB / 0.8426 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.007015, allocations: 7.984 kB / 0.8426 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.007024, allocations: 4 kB / 0.8426 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.007055, allocations: 36.92 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007056, allocations: 4 kB / 0.8427 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.225e-05/0.007108, allocations: 49.67 kB / 0.8427 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.007118, allocations: 4 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.007122, allocations: 0.5156 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.007132, allocations: 0 / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.007169, allocations: 12 kB / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.007171, allocations: 0 / 0.8427 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.007182, allocations: 3.938 kB / 0.8427 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.007187, allocations: 3.984 kB / 0.8427 GB, free: 9.785 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 4.875e-05/0.007236, allocations: 121.8 kB / 0.8429 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.007242, allocations: 4 kB / 0.8429 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.007314, allocations: 57.91 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.007315, allocations: 0 / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007319, allocations: 8 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.007321, allocations: 0 / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.00748, allocations: 211.5 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.007482, allocations: 4 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.007516, allocations: 8 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.007517, allocations: 0 / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007524, allocations: 15.97 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.007527, allocations: 3.984 kB / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.007528, allocations: 0 / 0.8432 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.007626, allocations: 164.3 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.007636, allocations: 0 / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.007644, allocations: 4 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.007679, allocations: 0 / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.007694, allocations: 11.92 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.007698, allocations: 4 kB / 0.8433 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.448e-06/0.007708, allocations: 12.84 kB / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007708, allocations: 0 / 0.8433 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001384/0.007846, allocations: 19.97 kB / 0.8434 GB, free: 9.086 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.0001071/0.007953, allocations: 100.3 kB / 0.8435 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.403e-05/0.008007, allocations: 32.78 kB / 0.8435 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.008011, allocations: 4 kB / 0.8435 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.008025, allocations: 20.78 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.008132, allocations: 8 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.008522, allocations: 181.7 kB / 0.8437 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.008554, allocations: 55.36 kB / 0.8437 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.008575, allocations: 7.984 kB / 0.8437 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.008615, allocations: 59.38 kB / 0.8438 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.008616, allocations: 3.938 kB / 0.8438 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of Templates: time 0.002062/0.01068, allocations: 0.7564 MB / 0.8445 GB, free: 7.844 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.098302803002298]