Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001012/0.001012, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001043/0.001043, allocations: 161 kB / 23.82 MB, free: 0.7539 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.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.904/1.904, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.513e-05, allocations: 3.531 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001794/0.001819, allocations: 1.341 MB / 0.8128 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.002733, allocations: 0.5822 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.002765, allocations: 1.375 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.002789, allocations: 3.938 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.957e-05/0.002829, allocations: 7.969 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.003314, allocations: 156.6 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.003378, allocations: 27.86 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.00342, allocations: 4.812 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.003456, allocations: 11.98 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.003521, allocations: 16.5 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.003537, allocations: 0 / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.003847, allocations: 268.8 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.003863, allocations: 4 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003888, allocations: 15.92 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.004109, allocations: 164.6 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004112, allocations: 3.938 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004113, allocations: 0 / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.004117, allocations: 0.8125 kB / 0.8141 GB, free: 15.14 MB / 0.7761 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.0003713/0.004488, allocations: 395.9 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.004533, allocations: 12.59 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.004581, allocations: 9.234 kB / 0.8145 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.004657, allocations: 109.4 kB / 0.8146 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.004669, allocations: 5.562 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.004699, allocations: 8.375 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.004822, allocations: 97.64 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004833, allocations: 1.719 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.004843, allocations: 4.312 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.004852, allocations: 4.375 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.00489, allocations: 19.92 kB / 0.8147 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.005032, allocations: 116.6 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.673e-05/0.005129, allocations: 56.11 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.005164, allocations: 30.95 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.005185, allocations: 4 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.005209, allocations: 37.33 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.00521, allocations: 0 / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0008696/0.00608, allocations: 464.6 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.006116, allocations: 51.41 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.0062, allocations: 164.4 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006213, allocations: 25.7 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.006252, allocations: 126.9 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.006293, allocations: 47.64 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.006328, allocations: 31.38 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.006456, allocations: 497.5 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.006487, allocations: 24 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.006512, allocations: 15.98 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.00658, allocations: 55.11 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006581, allocations: 1.156 kB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.824e-05/0.006679, allocations: 85.62 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006691, allocations: 4 kB / 0.8165 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.006695, allocations: 4.531 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.006708, allocations: 3.938 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.006791, allocations: 20.89 kB / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.006796, allocations: 0 / 0.8165 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.49e-05/0.006811, allocations: 8.844 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006816, allocations: 0 / 0.8165 GB, free: 12.39 MB / 0.7761 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 7.075e-05/0.006887, allocations: 165.8 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.006899, allocations: 7.953 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.007036, allocations: 93.78 kB / 0.8168 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.007039, allocations: 8.656 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.007043, allocations: 0 / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007046, allocations: 0.875 kB / 0.8168 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.007342, allocations: 337.3 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007344, allocations: 1.562 kB / 0.8171 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.007413, allocations: 27.98 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007416, allocations: 3.938 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.007424, allocations: 0 / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007425, allocations: 0.9062 kB / 0.8171 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007427, allocations: 4 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.007619, allocations: 264.9 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.007626, allocations: 3.953 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007638, allocations: 3.938 kB / 0.8174 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.007683, allocations: 9.125 kB / 0.8174 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.007703, allocations: 7.984 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.007708, allocations: 0 / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.007744, allocations: 124.2 kB / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007744, allocations: 0 / 0.8175 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001984/0.007942, allocations: 39.86 kB / 0.8176 GB, free: 11.24 MB / 0.7761 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.0001673/0.00811, allocations: 136.3 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.008227, allocations: 60.09 kB / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008229, allocations: 0 / 0.8177 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.008263, allocations: 44.55 kB / 0.8178 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.008424, allocations: 10.84 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.009019, allocations: 250.3 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.009059, allocations: 56.53 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.009093, allocations: 11.98 kB / 0.8181 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.009119, allocations: 12.5 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.00912, allocations: 0 / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.002996/0.01212, allocations: 0.9585 MB / 0.819 GB, free: 9.719 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.3059154357761145]