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.001174/0.001174, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001325/0.001325, allocations: 169 kB / 24.28 MB, free: 276 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 1.033/1.033, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.835/1.835, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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 2.605e-06/2.605e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.538e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002217/0.002252, allocations: 1.322 MB / 0.8128 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.003216, allocations: 0.5759 MB / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.00326, allocations: 0 / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.003294, allocations: 0 / 0.8134 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.003358, allocations: 4.484 kB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.004056, allocations: 149 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.004146, allocations: 19.92 kB / 0.8136 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.004203, allocations: 4.828 kB / 0.8136 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.004294, allocations: 19.97 kB / 0.8136 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.00436, allocations: 4.688 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.00438, allocations: 0 / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.004726, allocations: 272.7 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.00475, allocations: 4 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.004777, allocations: 7.984 kB / 0.8139 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.005033, allocations: 151.4 kB / 0.814 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.005037, allocations: 10.56 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.384e-06/0.00504, allocations: 3.984 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.005046, allocations: 0 / 0.814 GB, free: 15.55 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.0005009/0.005547, allocations: 384 kB / 0.8144 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.005604, allocations: 8.031 kB / 0.8144 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.525e-05/0.005669, allocations: 9.234 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.005789, allocations: 104.6 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.005806, allocations: 8.891 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.005833, allocations: 1.094 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.005965, allocations: 67.91 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005974, allocations: 0.7188 kB / 0.8146 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.005987, allocations: 9.922 kB / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.005996, allocations: 384 / 0.8146 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/0.006033, allocations: 7.938 kB / 0.8146 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.006219, allocations: 120.7 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.006445, allocations: 47.64 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.00648, allocations: 16.28 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.006506, allocations: 3.938 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.006536, allocations: 38.17 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.006537, allocations: 0 / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0005801/0.007117, allocations: 250.9 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.007156, allocations: 55.34 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.007232, allocations: 159.3 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.007242, allocations: 25.7 kB / 0.8153 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.00728, allocations: 130.9 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.007308, allocations: 19.84 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.007342, allocations: 28.12 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007458, allocations: 492.1 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.007477, allocations: 12.98 kB / 0.8159 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.007494, allocations: 8 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.007538, allocations: 28.78 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.007539, allocations: 0 / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.956e-05/0.007618, allocations: 61.69 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.007631, allocations: 4 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007636, allocations: 0.8438 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.00765, allocations: 0 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.007694, allocations: 18.2 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.007701, allocations: 3.938 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.007713, allocations: 0 / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.00772, allocations: 8 kB / 0.816 GB, free: 13.23 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.035e-05/0.00779, allocations: 156.5 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.007799, allocations: 6.844 kB / 0.8162 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.007907, allocations: 70.03 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007908, allocations: 0 / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.007914, allocations: 3.938 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.007918, allocations: 0 / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.008183, allocations: 317.1 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.008185, allocations: 3.938 kB / 0.8166 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.008234, allocations: 17.52 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008237, allocations: 0 / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.008249, allocations: 7.938 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.008251, allocations: 4 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008253, allocations: 0.625 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.008411, allocations: 231.7 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.854e-05/0.00843, allocations: 4.562 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.008444, allocations: 8.5 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.008482, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.008502, allocations: 8.547 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008508, allocations: 5.344 kB / 0.8169 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.008543, allocations: 119.2 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008543, allocations: 0 / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001742/0.008717, allocations: 27.88 kB / 0.817 GB, free: 12.18 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.0001666/0.008884, allocations: 120.2 kB / 0.8171 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.188e-05/0.008975, allocations: 40.27 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008978, allocations: 0 / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.009, allocations: 24.34 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.009161, allocations: 7.781 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.009694, allocations: 185.1 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.009736, allocations: 59.34 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.009759, allocations: 7.938 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.009781, allocations: 12.5 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.009782, allocations: 0 / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.002475/0.01226, allocations: 0.6567 MB / 0.8181 GB, free: 11.07 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.215069915866479]