Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001478/0.001478, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001742/0.001742, allocations: 185.1 kB / 22.22 MB, free: 5.105 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.442/1.442, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.669/2.669, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 63.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9195/0.922, allocations: 160.8 MB / 1.218 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002492/0.9245, allocations: 1.299 MB / 1.22 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.9256, allocations: 0.6275 MB / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.9257, allocations: 0 / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.9257, allocations: 0 / 1.22 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.509e-05/0.9257, allocations: 5.125 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005889/0.9263, allocations: 155.8 kB / 1.22 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.9264, allocations: 25.11 kB / 1.221 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.27e-05/0.9264, allocations: 6.25 kB / 1.221 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.9264, allocations: 18.12 kB / 1.221 GB, free: 2.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.9265, allocations: 16.19 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.9265, allocations: 2.156 kB / 1.221 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.9271, allocations: 342.5 kB / 1.221 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.9271, allocations: 8.875 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.9271, allocations: 14.12 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.9274, allocations: 152.5 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9274, allocations: 0 / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9274, allocations: 0.8438 kB / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.9274, allocations: 0 / 1.221 GB, free: 1.855 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004739/0.9279, allocations: 378.8 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.9279, allocations: 9.406 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.928, allocations: 3.125 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.9281, allocations: 165.5 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.9281, allocations: 13.66 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.9281, allocations: 4 kB / 1.222 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.9283, allocations: 57.03 kB / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.9283, allocations: 192 / 1.222 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.9283, allocations: 5.406 kB / 1.222 GB, free: 1.188 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.9283, allocations: 5.312 kB / 1.222 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.246e-05/0.9283, allocations: 17.98 kB / 1.222 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.9285, allocations: 162 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.9287, allocations: 62.3 kB / 1.222 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.9287, allocations: 28.34 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.9287, allocations: 1.094 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.9288, allocations: 40.56 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.9288, allocations: 0 / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001178/0.9299, allocations: 0.5832 MB / 1.223 GB, free: 328 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.93, allocations: 53.81 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.9301, allocations: 96.48 kB / 1.223 GB, free: 160 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.9301, allocations: 38.83 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.9301, allocations: 84.12 kB / 1.223 GB, free: 28 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.9302, allocations: 32.36 kB / 1.223 GB, free: 0 / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.9302, allocations: 30.39 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002337/0.9305, allocations: 311.9 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.9305, allocations: 23.98 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.954e-05/0.9306, allocations: 21.67 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.9307, allocations: 61.48 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.9307, allocations: 0 / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001621/0.9308, allocations: 109.5 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9308, allocations: 5.094 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.9308, allocations: 0 / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9309, allocations: 0.9375 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.931, allocations: 22 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.931, allocations: 0 / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.931, allocations: 5.047 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.931, allocations: 7.406 kB / 1.223 GB, free: 15.52 MB / 0.9356 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.0001036/0.9311, allocations: 124.2 kB / 1.224 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.9311, allocations: 5.875 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.9313, allocations: 112.3 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.9313, allocations: 5.062 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9313, allocations: 0 / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.9314, allocations: 5.047 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.9318, allocations: 352.7 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9318, allocations: 0 / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.9319, allocations: 25.19 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.9319, allocations: 4.781 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.9319, allocations: 1.875 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9319, allocations: 0 / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9319, allocations: 5.016 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.9322, allocations: 217.7 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.9323, allocations: 78.27 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.9323, allocations: 1.062 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.9324, allocations: 10.38 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.9324, allocations: 6.984 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.9324, allocations: 2.438 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.9325, allocations: 81.45 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9325, allocations: 3.938 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003133/0.9328, allocations: 36 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002239/0.933, allocations: 151.7 kB / 1.225 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.9331, allocations: 64.67 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9332, allocations: 0 / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.9332, allocations: 31.27 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.9334, allocations: 7.5 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.9341, allocations: 291 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.9344, allocations: 0.6876 MB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.9344, allocations: 10.7 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.9345, allocations: 12.03 kB / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9345, allocations: 0 / 1.226 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.003919/0.9384, allocations: 1.001 MB / 1.227 GB, free: 12.95 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,m_flow,m_flow_comp,m_flow_turbulent,der(m_flow),der(m_flow_comp),err_m_flow,err_der_m_flow Variables in the result:der(m_flow),der(m_flow_comp),err_der_m_flow,err_m_flow,k,m_flow,m_flow_comp,m_flow_turbulent,time [Calling sys.exit(0), Time elapsed: 8.73288877401501]