Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.001692/0.001692, allocations: 107.7 kB / 18.88 MB, free: 3.047 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.001483/0.001483, allocations: 200 kB / 22.17 MB, free: 5.203 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.535/1.535, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.89/2.89, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8562, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002852/0.859, allocations: 1.487 MB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.8603, allocations: 0.6436 MB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.8603, allocations: 0 / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.8603, allocations: 8 kB / 1.276 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.876e-05/0.8604, allocations: 11.86 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.861, allocations: 158.6 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.534e-05/0.8611, allocations: 47.89 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.8611, allocations: 4 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.8612, allocations: 23.92 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.8612, allocations: 31.83 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.8612, allocations: 8 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.8618, allocations: 347.3 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.8618, allocations: 11.98 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.8618, allocations: 23.86 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.8621, allocations: 178.1 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8622, allocations: 0 / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.562e-06/0.8622, allocations: 0 / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.8622, allocations: 0 / 1.277 GB, free: 1.559 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007014/0.8629, allocations: 402.9 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.8629, allocations: 16.03 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.863, allocations: 4.938 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.8631, allocations: 176.2 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.8631, allocations: 8.359 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.8632, allocations: 8.375 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.8634, allocations: 78.22 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8634, allocations: 192 / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.8635, allocations: 7.938 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8635, allocations: 0 / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.8637, allocations: 51.95 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.8643, allocations: 328.6 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.8646, allocations: 74.53 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.8647, allocations: 32.78 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.8648, allocations: 4 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.8648, allocations: 34.56 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 4.248e-06/0.8648, allocations: 3.984 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001865/0.8667, allocations: 0.6424 MB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.8667, allocations: 55.34 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.8668, allocations: 105.8 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.8669, allocations: 29.7 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.8669, allocations: 96.03 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.867, allocations: 39.64 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.867, allocations: 29.7 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8672, allocations: 314.9 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8673, allocations: 35.91 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.8675, allocations: 35.97 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.8677, allocations: 79.64 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.8677, allocations: 0 / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003368/0.8681, allocations: 117.7 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8681, allocations: 8 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8681, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8681, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.8683, allocations: 27.98 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.8683, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.318e-05/0.8683, allocations: 11.94 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.8684, allocations: 7.984 kB / 1.28 GB, free: 14.43 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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.0001013/0.8685, allocations: 117.8 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.8685, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.8689, allocations: 125.5 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8689, allocations: 0 / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8689, allocations: 3.984 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.8689, allocations: 3.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006539/0.8696, allocations: 390.4 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8696, allocations: 0 / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.8697, allocations: 23.98 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.8697, allocations: 11.92 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.8697, allocations: 7.938 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8697, allocations: 0 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8697, allocations: 80 / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.8703, allocations: 251.4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.8704, allocations: 81.14 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.8704, allocations: 3.938 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.8705, allocations: 11.98 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.8705, allocations: 4 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.8705, allocations: 4 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.8706, allocations: 87.33 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8706, allocations: 7.938 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002833/0.8709, allocations: 35.88 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002382/0.8711, allocations: 139.8 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003395/0.8714, allocations: 79.89 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8714, allocations: 0 / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.8716, allocations: 48.34 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.8719, allocations: 13.7 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/0.8727, allocations: 333.2 kB / 1.281 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.873, allocations: 0.6963 MB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.291e-05/0.8731, allocations: 8.656 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.8731, allocations: 15.44 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8731, allocations: 0 / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.004357/0.8775, allocations: 1.172 MB / 1.283 GB, free: 10.65 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.954109027981758]