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.001061/0.001061, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001038/0.001038, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9996/0.9996, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.883e-06/1.883e-06, allocations: 0 / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.458e-05, allocations: 2.312 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001818/0.001842, allocations: 1.334 MB / 0.8133 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008436/0.002686, allocations: 0.5745 MB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.421e-05/0.00272, allocations: 1 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.00274, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.00279, allocations: 4.719 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.003217, allocations: 145 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.003275, allocations: 27.84 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.003309, allocations: 0 / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.003362, allocations: 15.98 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.003405, allocations: 1.531 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.00342, allocations: 4 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.003701, allocations: 275.3 kB / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003714, allocations: 0 / 0.8143 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.003729, allocations: 5.75 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.003914, allocations: 155.5 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.003917, allocations: 4 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.003919, allocations: 0 / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.003922, allocations: 4.656 kB / 0.8145 GB, free: 14.89 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.0003432/0.004265, allocations: 387.9 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.004311, allocations: 8.906 kB / 0.8149 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.004344, allocations: 9.234 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.004427, allocations: 109.2 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.00444, allocations: 4.375 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.004459, allocations: 1.75 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.328e-05/0.004552, allocations: 63.89 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.00456, allocations: 4.188 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004569, allocations: 6.969 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004575, allocations: 384 / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.004601, allocations: 11.92 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.004725, allocations: 93.27 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.004889, allocations: 51.08 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.004913, allocations: 19.7 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.004938, allocations: 4.531 kB / 0.8152 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.004962, allocations: 34.11 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 2.564e-06/0.004965, allocations: 3.984 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004981/0.005463, allocations: 226.2 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.005489, allocations: 57.06 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.544e-05/0.005564, allocations: 161.9 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.005579, allocations: 29.7 kB / 0.8157 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.005619, allocations: 126.9 kB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.005649, allocations: 23.78 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.005686, allocations: 27.86 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.005822, allocations: 496.7 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.005838, allocations: 8.781 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.005854, allocations: 7.984 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.005902, allocations: 27.62 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.005903, allocations: 1.156 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.006004, allocations: 61.62 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.006021, allocations: 4 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006026, allocations: 1.375 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00604, allocations: 4 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.006096, allocations: 12.06 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.006099, allocations: 0.5938 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.006119, allocations: 7.938 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.006128, allocations: 13.05 kB / 0.8165 GB, free: 12.61 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 7.674e-05/0.006205, allocations: 156.5 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.006221, allocations: 5 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.006347, allocations: 61.81 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.006349, allocations: 0 / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.006351, allocations: 0.8438 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006355, allocations: 3.938 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.006627, allocations: 299.9 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.00663, allocations: 0 / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.006694, allocations: 12 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.006698, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006705, allocations: 0 / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006707, allocations: 4 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.00671, allocations: 6.719 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.006895, allocations: 227.5 kB / 0.8172 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.006917, allocations: 0 / 0.8172 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.006931, allocations: 7.984 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.006995, allocations: 4 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.007011, allocations: 7.938 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.007018, allocations: 192 / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.007061, allocations: 128.7 kB / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007061, allocations: 0 / 0.8174 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002708/0.007332, allocations: 19.94 kB / 0.8174 GB, free: 11.61 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.000184/0.007516, allocations: 123.6 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.727e-05/0.007603, allocations: 36.17 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.007605, allocations: 1.344 kB / 0.8176 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.007634, allocations: 27.61 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.007873, allocations: 4 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.008395, allocations: 186 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.114e-05/0.008436, allocations: 60.77 kB / 0.8178 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.00847, allocations: 12.36 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.008529, allocations: 82.33 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.00853, allocations: 0 / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.003041/0.01157, allocations: 0.7264 MB / 0.8186 GB, free: 10.36 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: 4.954800254199654]