Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00151/0.00151, 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.001834/0.001834, allocations: 161.4 kB / 23.81 MB, free: 0.7578 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.011/1.011, 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.917/1.917, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.435e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002647/0.002681, allocations: 1.328 MB / 0.8128 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003721, allocations: 0.5869 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.003757, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.003785, allocations: 1.125 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.003842, allocations: 0 / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.004462, allocations: 152.2 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.111e-05/0.004533, allocations: 19.92 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.004582, allocations: 0.875 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.004651, allocations: 15.98 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.004703, allocations: 9.266 kB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.004722, allocations: 4 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.005142, allocations: 267.4 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.005161, allocations: 3.938 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.005185, allocations: 4.531 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.005471, allocations: 161.4 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005475, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.005476, allocations: 0 / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.005483, allocations: 4 kB / 0.814 GB, free: 15.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004717/0.005955, allocations: 388 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.006005, allocations: 9.719 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.006056, allocations: 9.234 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.006156, allocations: 104.6 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006171, allocations: 384 / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.006204, allocations: 8.375 kB / 0.8145 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.006334, allocations: 64.8 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.006342, allocations: 4.188 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.006354, allocations: 0.9062 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.006362, allocations: 1.031 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/0.006406, allocations: 19.91 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.006569, allocations: 113.2 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.006806, allocations: 52.34 kB / 0.8148 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.006843, allocations: 15.69 kB / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.006871, allocations: 0 / 0.8148 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.006903, allocations: 41.86 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.006904, allocations: 0.8438 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0007281/0.007632, allocations: 237.7 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.007665, allocations: 60.19 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.00775, allocations: 153.9 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007764, allocations: 30.92 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.00781, allocations: 126.9 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.007846, allocations: 27.78 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.007888, allocations: 23.38 kB / 0.8154 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008033, allocations: 0.4892 MB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.008059, allocations: 11.97 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.00808, allocations: 9.219 kB / 0.8159 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.679e-05/0.008137, allocations: 31.62 kB / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.008138, allocations: 0 / 0.816 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001005/0.008239, allocations: 59 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.008257, allocations: 4 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.008262, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.008286, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.008351, allocations: 17.61 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.008359, allocations: 7.938 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.008378, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.008385, allocations: 0 / 0.8161 GB, free: 12.85 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 (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 8.639e-05/0.008471, allocations: 163.3 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.008487, allocations: 8 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.008631, allocations: 69.98 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.008633, allocations: 0 / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008638, allocations: 3.938 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008642, allocations: 0 / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.008967, allocations: 309.6 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.008969, allocations: 0 / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.009039, allocations: 21.05 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009043, allocations: 0 / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.009054, allocations: 3.938 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.009056, allocations: 1.312 kB / 0.8166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.009059, allocations: 4 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.009263, allocations: 228 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.009294, allocations: 12.83 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.009313, allocations: 3.938 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.009383, allocations: 1.344 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.009405, allocations: 7.984 kB / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.009411, allocations: 0 / 0.8169 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.009458, allocations: 135.1 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.009458, allocations: 0.9062 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002889/0.009747, allocations: 19.94 kB / 0.817 GB, free: 11.8 MB / 0.7761 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.0002151/0.009962, allocations: 124.5 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.01008, allocations: 39.8 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01008, allocations: 2.844 kB / 0.8172 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.01011, allocations: 27.62 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.01038, allocations: 4 kB / 0.8172 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.01104, allocations: 176 kB / 0.8174 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.01108, allocations: 59.34 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.01112, allocations: 8 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01115, allocations: 12.5 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/0.01115, allocations: 0 / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of Templates: time 0.003201/0.01435, allocations: 0.656 MB / 0.8181 GB, free: 10.69 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.2718608868308365]