Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001461/0.001461, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001806/0.001806, allocations: 170 kB / 23.27 MB, free: 1.223 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.933/0.933, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.332/2.332, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 GB " [Timeout remaining time 177] 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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.631e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002885/0.002911, allocations: 1.36 MB / 0.8911 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003962, allocations: 0.572 MB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.004004, allocations: 0 / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.004025, allocations: 4 kB / 0.8917 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.004074, allocations: 3.984 kB / 0.8917 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.004664, allocations: 151.2 kB / 0.8918 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.004729, allocations: 27.92 kB / 0.8918 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.004768, allocations: 0 / 0.8918 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.004812, allocations: 23.92 kB / 0.8919 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.004875, allocations: 11.97 kB / 0.8919 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.00489, allocations: 4 kB / 0.8919 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.005306, allocations: 267.4 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.005328, allocations: 7.984 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.005352, allocations: 11.98 kB / 0.8921 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.005643, allocations: 167.5 kB / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005645, allocations: 0 / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005646, allocations: 0 / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.005649, allocations: 0 / 0.8923 GB, free: 7.07 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004556/0.006105, allocations: 396.2 kB / 0.8927 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.00615, allocations: 20.55 kB / 0.8927 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/0.006181, allocations: 4.938 kB / 0.8927 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.867e-05/0.00627, allocations: 116.5 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.006282, allocations: 384 / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.006308, allocations: 8.375 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.006427, allocations: 105.6 kB / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.006438, allocations: 192 / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.006446, allocations: 384 / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.006452, allocations: 384 / 0.8929 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.006485, allocations: 15.92 kB / 0.8929 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.006631, allocations: 113.2 kB / 0.8931 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.006725, allocations: 63.03 kB / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.006754, allocations: 27.67 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.006776, allocations: 0 / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.006805, allocations: 37.39 kB / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006806, allocations: 0 / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000833/0.007639, allocations: 424.7 kB / 0.8936 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.007673, allocations: 63.34 kB / 0.8936 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.00775, allocations: 153.9 kB / 0.8938 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.00777, allocations: 29.7 kB / 0.8938 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.007813, allocations: 126.9 kB / 0.8939 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.007858, allocations: 43.61 kB / 0.894 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.00791, allocations: 35.34 kB / 0.894 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.008055, allocations: 0.4923 MB / 0.8945 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.008085, allocations: 11.98 kB / 0.8945 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.008108, allocations: 8 kB / 0.8945 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.504e-05/0.008173, allocations: 43.3 kB / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008174, allocations: 4 kB / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001211/0.008295, allocations: 85.64 kB / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.00831, allocations: 4 kB / 0.8946 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.008316, allocations: 3.938 kB / 0.8946 GB, free: 4.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.00833, allocations: 7.984 kB / 0.8947 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.008417, allocations: 20 kB / 0.8947 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.008422, allocations: 3.938 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.008443, allocations: 4 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.008449, allocations: 0 / 0.8947 GB, free: 4.375 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.277e-05/0.008542, allocations: 164.6 kB / 0.8948 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.008559, allocations: 11.95 kB / 0.8948 GB, free: 4.191 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.008711, allocations: 93.67 kB / 0.8949 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.008714, allocations: 4 kB / 0.8949 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.008717, allocations: 3.938 kB / 0.8949 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.00872, allocations: 0 / 0.8949 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.009031, allocations: 326.2 kB / 0.8953 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.009033, allocations: 0 / 0.8953 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.009118, allocations: 19.94 kB / 0.8953 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.00912, allocations: 0 / 0.8953 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009128, allocations: 3.984 kB / 0.8953 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.009131, allocations: 11.94 kB / 0.8953 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009132, allocations: 0 / 0.8953 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.009332, allocations: 239.9 kB / 0.8955 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-06/0.009337, allocations: 0 / 0.8955 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.009348, allocations: 0 / 0.8955 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-05/0.009411, allocations: 11.88 kB / 0.8955 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.00943, allocations: 15.92 kB / 0.8955 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.009436, allocations: 0 / 0.8955 GB, free: 3.414 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.009478, allocations: 127.2 kB / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.009478, allocations: 0 / 0.8957 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002775/0.009756, allocations: 36 kB / 0.8957 GB, free: 3.254 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001727/0.009928, allocations: 135.1 kB / 0.8958 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01004, allocations: 51.61 kB / 0.8959 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01005, allocations: 0 / 0.8959 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.01009, allocations: 31.67 kB / 0.8959 GB, free: 3.023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01032, allocations: 15.03 kB / 0.8959 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.01091, allocations: 261.9 kB / 0.8962 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.01095, allocations: 63.28 kB / 0.8962 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.09e-05/0.01099, allocations: 8 kB / 0.8962 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.01106, allocations: 86.12 kB / 0.8963 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.01106, allocations: 0 / 0.8963 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of Templates: time 0.003336/0.0144, allocations: 1.074 MB / 0.8974 GB, free: 1.523 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.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.322824154049158]