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.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.001341/0.001341, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001579/0.001579, allocations: 213 kB / 22.24 MB, free: 4.855 MB / 14.72 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.433/3.433, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 70.89 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4215, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.004652/0.4261, allocations: 1.283 MB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.4277, allocations: 0.5376 MB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.4278, allocations: 7.938 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.4278, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.732e-05/0.4278, allocations: 3.844 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009336/0.4288, allocations: 145.8 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4289, allocations: 19.92 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.038e-05/0.4289, allocations: 11.98 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.878e-05/0.429, allocations: 8 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.4291, allocations: 7.938 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.4291, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005984/0.4297, allocations: 271.4 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.4297, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.4297, allocations: 19.92 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.4301, allocations: 139.5 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4301, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.34e-05/0.4301, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.4301, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 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.000549/0.4307, allocations: 282 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4307, allocations: 12.03 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.4308, allocations: 0.9375 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4309, allocations: 114.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4309, allocations: 4.375 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.431, allocations: 4.375 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4311, allocations: 67.95 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4311, allocations: 4.125 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.4312, allocations: 3.938 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4312, allocations: 0 / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.4312, allocations: 12 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.4314, allocations: 109.3 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.4317, allocations: 42.56 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.4317, allocations: 16.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.4317, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.4318, allocations: 42.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.4318, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0007332/0.4325, allocations: 233.2 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.4325, allocations: 55.41 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.4326, allocations: 93.86 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.4327, allocations: 25.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.4327, allocations: 84.14 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4328, allocations: 23.78 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.4328, allocations: 17.72 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.433, allocations: 314.8 kB / 1.329 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.323e-05/0.433, allocations: 19.92 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.433, allocations: 15.98 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.4331, allocations: 28.86 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4331, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001176/0.4332, allocations: 66.12 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4332, allocations: 10.34 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4332, allocations: 3.938 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4333, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.4333, allocations: 15.92 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4333, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.4333, allocations: 8 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.4334, allocations: 4 kB / 1.33 GB, free: 13.46 MB / 1.029 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.0001631/0.4335, allocations: 113 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.4335, allocations: 3.953 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4337, allocations: 85.59 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.4337, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4337, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4337, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.4341, allocations: 255.1 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4341, allocations: 3.938 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.4342, allocations: 16.17 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4342, allocations: 4.031 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.4342, allocations: 4 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4342, allocations: 0 / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4342, allocations: 4 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.4344, allocations: 176.3 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.4344, allocations: 11.92 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4345, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.4345, allocations: 8 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.4346, allocations: 3.984 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.4346, allocations: 4 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.4346, allocations: 79.34 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4346, allocations: 4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002707/0.4349, allocations: 23.92 kB / 1.33 GB, free: 12.59 MB / 1.029 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.0002218/0.4351, allocations: 127 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.4352, allocations: 35.92 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4352, allocations: 0 / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/0.4353, allocations: 12 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4355, allocations: 9.969 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.436, allocations: 200.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.927e-05/0.4361, allocations: 63.34 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.4361, allocations: 8.391 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.4361, allocations: 11.44 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.4361, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of Templates: time 0.00367/0.4398, allocations: 0.6413 MB / 1.331 GB, free: 11.48 MB / 1.029 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.570470672100782]