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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 192.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.895/2.895, allocations: 496 MB / 0.7835 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001873/0.001873, allocations: 70.44 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3442, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002526/0.3468, allocations: 1.288 MB / 1.309 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3478, allocations: 0.6148 MB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.3478, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.3479, allocations: 0 / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.3479, allocations: 7.938 kB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.3484, allocations: 149 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.3485, allocations: 11.94 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.3485, allocations: 8 kB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.3486, allocations: 23.91 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.3486, allocations: 0 / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3486, allocations: 4 kB / 1.309 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.3491, allocations: 347.3 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.3491, allocations: 0 / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.3492, allocations: 7.938 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3494, allocations: 143.6 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3494, allocations: 0 / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3494, allocations: 0 / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3494, allocations: 0 / 1.31 GB, free: 15.22 MB / 1.014 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.0004147/0.3499, allocations: 294 kB / 1.31 GB, free: 14.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3499, allocations: 8.922 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3499, allocations: 4.891 kB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.35, allocations: 114.5 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3501, allocations: 384 / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.3501, allocations: 4.375 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3502, allocations: 38.25 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3502, allocations: 4.125 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3502, allocations: 3.938 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3502, allocations: 8 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.3502, allocations: 11.98 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.3504, allocations: 128.8 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3506, allocations: 50.5 kB / 1.31 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.3506, allocations: 12.86 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3507, allocations: 0 / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3507, allocations: 38.66 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3507, allocations: 0 / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0005659/0.3513, allocations: 233.1 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3513, allocations: 55.41 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.3514, allocations: 93.8 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3514, allocations: 29.7 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.3514, allocations: 92.12 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3515, allocations: 19.8 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3515, allocations: 21.72 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3516, allocations: 318.8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.3516, allocations: 12 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.3517, allocations: 4 kB / 1.311 GB, free: 13.45 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.02e-05/0.3517, allocations: 36.84 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3517, allocations: 0 / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001016/0.3518, allocations: 69.62 kB / 1.311 GB, free: 13.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3518, allocations: 11.94 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3518, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3519, allocations: 4 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.3519, allocations: 11.94 kB / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3519, allocations: 64 / 1.311 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.3519, allocations: 8.516 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3519, allocations: 4 kB / 1.311 GB, free: 13.3 MB / 1.014 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.041e-05/0.352, allocations: 105.8 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.352, allocations: 7.938 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.3522, allocations: 85.89 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3522, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3522, allocations: 3.984 kB / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3522, allocations: 0 / 1.312 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.3525, allocations: 286.4 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3525, allocations: 0 / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.3526, allocations: 15.92 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.3526, allocations: 4 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.3526, allocations: 0 / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3526, allocations: 4.031 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3526, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3528, allocations: 184.3 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.3528, allocations: 4 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3528, allocations: 4.031 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3529, allocations: 0 / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.3529, allocations: 11.98 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3529, allocations: 4 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.353, allocations: 83.28 kB / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.353, allocations: 0 / 1.312 GB, free: 12.42 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002336/0.3532, allocations: 19.88 kB / 1.312 GB, free: 12.4 MB / 1.014 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.0001776/0.3534, allocations: 123.9 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3535, allocations: 32.17 kB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3535, allocations: 0 / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.3535, allocations: 31.92 kB / 1.312 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3537, allocations: 5.891 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.3541, allocations: 200.4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3544, allocations: 0.6807 MB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.3545, allocations: 4.25 kB / 1.313 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.3545, allocations: 7.438 kB / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/0.3545, allocations: 0 / 1.313 GB, free: 11.26 MB / 1.014 GB Notification: Performance of Templates: time 0.003011/0.3575, allocations: 0.6642 MB / 1.314 GB, free: 10.63 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.005602738820016]