Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001459/0.001459, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.001613/0.001613, allocations: 157.7 kB / 22.75 MB, free: 1.676 MB / 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8776 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.343e-05, allocations: 7.688 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003159/0.003192, allocations: 1.318 MB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.004468, allocations: 0.538 MB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.004502, allocations: 0 / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.004528, allocations: 8.375 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.004589, allocations: 5.562 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.005386, allocations: 147.2 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.731e-05/0.005463, allocations: 20.55 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.005508, allocations: 4 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.005574, allocations: 9.328 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.005631, allocations: 7.984 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.005645, allocations: 3.938 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.006189, allocations: 269.1 kB / 0.8799 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.006217, allocations: 3.938 kB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.006249, allocations: 8 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.006607, allocations: 159.4 kB / 0.88 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.006615, allocations: 5.609 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.233e-06/0.006616, allocations: 0 / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.006621, allocations: 0 / 0.88 GB, free: 4.008 MB / 0.8386 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.0005357/0.007156, allocations: 282 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.007213, allocations: 10.97 kB / 0.8803 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.007269, allocations: 4.938 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.007401, allocations: 105.8 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.007421, allocations: 8.359 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.007459, allocations: 384 / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.007606, allocations: 63.97 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.007614, allocations: 192 / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.007628, allocations: 4.359 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007633, allocations: 1.094 kB / 0.8805 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.00768, allocations: 15.88 kB / 0.8805 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.007888, allocations: 110.7 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.008123, allocations: 42.56 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.008161, allocations: 16.86 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.008187, allocations: 7.984 kB / 0.8807 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.008221, allocations: 34.56 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.008223, allocations: 0 / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0008971/0.00912, allocations: 241.2 kB / 0.881 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.009175, allocations: 55.34 kB / 0.881 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.009276, allocations: 97.86 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.009298, allocations: 25.7 kB / 0.8811 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.009352, allocations: 80.14 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.009397, allocations: 31.77 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.009449, allocations: 21.66 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.009614, allocations: 318.8 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.009649, allocations: 11.98 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.009677, allocations: 12 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.213e-05/0.009749, allocations: 33 kB / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.00975, allocations: 0 / 0.8816 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001294/0.009879, allocations: 73.69 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.0099, allocations: 6.344 kB / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.009906, allocations: 0 / 0.8817 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.009931, allocations: 4 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.009995, allocations: 11.98 kB / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01, allocations: 3.938 kB / 0.8817 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.01002, allocations: 4 kB / 0.8817 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.01003, allocations: 4 kB / 0.8817 GB, free: 2.098 MB / 0.8386 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 9.756e-05/0.01013, allocations: 109.8 kB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.01015, allocations: 7.953 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01032, allocations: 81.73 kB / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01032, allocations: 0 / 0.8819 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01033, allocations: 3.938 kB / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01033, allocations: 0 / 0.8819 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.01071, allocations: 255.1 kB / 0.8822 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01071, allocations: 4.031 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.01078, allocations: 19.98 kB / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01079, allocations: 0 / 0.8822 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.0108, allocations: 3.938 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.0108, allocations: 4 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0108, allocations: 0 / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.01106, allocations: 180.3 kB / 0.8824 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.01109, allocations: 3.984 kB / 0.8824 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.01111, allocations: 7.969 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.01119, allocations: 192 / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01122, allocations: 7.984 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01123, allocations: 12.06 kB / 0.8824 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.01128, allocations: 79.8 kB / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01128, allocations: 0 / 0.8825 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002654/0.01155, allocations: 19.94 kB / 0.8825 GB, free: 1.242 MB / 0.8386 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.0002358/0.01178, allocations: 127.1 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01191, allocations: 23.94 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.01192, allocations: 4 kB / 0.8826 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.01195, allocations: 15.98 kB / 0.8826 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01218, allocations: 10.91 kB / 0.8827 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.01265, allocations: 177.5 kB / 0.8828 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.01273, allocations: 67.2 kB / 0.8829 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.01277, allocations: 8.25 kB / 0.8829 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.01281, allocations: 12.5 kB / 0.8829 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/0.01281, allocations: 0 / 0.8829 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of Templates: time 0.003815/0.01663, allocations: 0.6541 MB / 0.8835 GB, free: 140 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.48957677197177]