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.002056/0.002056, allocations: 106 kB / 18.84 MB, free: 3.043 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.002372/0.002372, allocations: 189.1 kB / 22.1 MB, free: 5.152 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.53/1.53, allocations: 225.6 MB / 250.8 MB, free: 13.06 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 3.308/3.308, allocations: 495.8 MB / 0.783 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002064/0.002064, allocations: 70.08 kB / 1.137 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4609, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002915/0.4638, allocations: 1.287 MB / 1.308 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.465, allocations: 0.6072 MB / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.465, allocations: 0 / 1.309 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.4651, allocations: 3.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.4651, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.4657, allocations: 154.6 kB / 1.309 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.621e-05/0.4658, allocations: 19.92 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.4659, allocations: 4 kB / 1.309 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.246e-05/0.4659, allocations: 19.92 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.466, allocations: 7.938 kB / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.466, allocations: 0 / 1.309 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.4665, allocations: 287.5 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.4665, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.4666, allocations: 15.92 kB / 1.309 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.4668, allocations: 131.6 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4668, allocations: 3.938 kB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.215e-06/0.4669, allocations: 0 / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.4669, allocations: 0 / 1.309 GB, free: 15.27 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.0005317/0.4674, allocations: 290 kB / 1.309 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4674, allocations: 8.031 kB / 1.309 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.4675, allocations: 4.938 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4676, allocations: 110.4 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4676, allocations: 384 / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4676, allocations: 4.375 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4678, allocations: 46.23 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4678, allocations: 192 / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4678, allocations: 3.938 kB / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4678, allocations: 0 / 1.31 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.4679, allocations: 19.92 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.4681, allocations: 128.8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.4683, allocations: 42.56 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.4684, allocations: 16.86 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4684, allocations: 3.938 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4684, allocations: 34.56 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.4684, allocations: 0 / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.000683/0.4691, allocations: 241.2 kB / 1.31 GB, free: 14.17 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.4692, allocations: 55.34 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.4693, allocations: 93.86 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4693, allocations: 25.7 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/0.4693, allocations: 84.14 kB / 1.31 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.4694, allocations: 23.78 kB / 1.31 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.4694, allocations: 21.72 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4696, allocations: 314.8 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.4696, allocations: 15.98 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.4696, allocations: 8 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.4697, allocations: 36.8 kB / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4697, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.4698, allocations: 69.72 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4698, allocations: 11.94 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4698, allocations: 4 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4699, allocations: 0 / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.4699, allocations: 11.98 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4699, allocations: 4 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.4699, allocations: 4 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-06/0.4699, allocations: 0 / 1.311 GB, free: 13.35 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 0.0001041/0.47, allocations: 109.8 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4701, allocations: 3.938 kB / 1.311 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.4702, allocations: 77.67 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.4702, allocations: 8.516 kB / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4702, allocations: 0 / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4702, allocations: 0 / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4706, allocations: 282.5 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4706, allocations: 3.938 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.4707, allocations: 16.17 kB / 1.311 GB, free: 12.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.4707, allocations: 4 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4707, allocations: 3.984 kB / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4707, allocations: 0 / 1.311 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4707, allocations: 8.031 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.4709, allocations: 180.2 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.4709, allocations: 12.02 kB / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.471, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.471, allocations: 0 / 1.312 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.066e-05/0.471, allocations: 11.92 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4711, allocations: 64 / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.4711, allocations: 87.28 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4711, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000245/0.4713, allocations: 19.94 kB / 1.312 GB, free: 12.45 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.0002159/0.4716, allocations: 119.9 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.4717, allocations: 35.98 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4717, allocations: 3.938 kB / 1.312 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.4717, allocations: 15.98 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.472, allocations: 12.94 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.4725, allocations: 196.5 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.4728, allocations: 0.6846 MB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.4729, allocations: 4 kB / 1.313 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.4729, allocations: 11.44 kB / 1.313 GB, free: 11.31 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.4729, allocations: 3.938 kB / 1.313 GB, free: 11.3 MB / 1.014 GB Notification: Performance of Templates: time 0.003729/0.4766, allocations: 0.6632 MB / 1.313 GB, free: 10.68 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: 9.666565580293536]