Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001742/0.001742, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002111/0.002111, allocations: 213.4 kB / 22.24 MB, free: 5.262 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002345/0.002345, allocations: 67.05 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4167, allocations: 170 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002689/0.4193, allocations: 1.299 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4205, allocations: 0.539 MB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.4205, allocations: 4 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.4205, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.4206, allocations: 3.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.4213, allocations: 155.4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.4214, allocations: 19.86 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.4214, allocations: 0 / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.4215, allocations: 12 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.4215, allocations: 11.86 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.4215, allocations: 8 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.422, allocations: 263.5 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.422, allocations: 4 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.4221, allocations: 11.92 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.4224, allocations: 139.6 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.4224, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.086e-06/0.4224, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4224, allocations: 3.938 kB / 1.285 GB, free: 9.547 MB / 0.9825 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.0004579/0.4229, allocations: 285.9 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4229, allocations: 12.03 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.4229, allocations: 0.9375 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.423, allocations: 114.5 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.4231, allocations: 4.375 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.4231, allocations: 4.375 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.4232, allocations: 63.95 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4232, allocations: 192 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4233, allocations: 11.94 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4233, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.4233, allocations: 8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.4235, allocations: 105.4 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4237, allocations: 46.5 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.4237, allocations: 20.86 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4238, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4238, allocations: 34.56 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4238, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006391/0.4244, allocations: 237.1 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4245, allocations: 55.41 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.171e-05/0.4246, allocations: 90.19 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4246, allocations: 33.7 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.4246, allocations: 80.14 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4247, allocations: 23.83 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.4247, allocations: 21.72 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4248, allocations: 322.8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.4249, allocations: 12 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/0.4249, allocations: 11.94 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.425, allocations: 32.84 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.425, allocations: 4 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001004/0.4251, allocations: 57.64 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4251, allocations: 8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4251, allocations: 8.062 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4251, allocations: 3.984 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.4251, allocations: 12 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4252, allocations: 3.938 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.539e-05/0.4252, allocations: 11.98 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4252, allocations: 240 / 1.287 GB, free: 7.633 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 (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.13e-05/0.4253, allocations: 109.8 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.4253, allocations: 7.953 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.4254, allocations: 77.66 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.4255, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4255, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4255, allocations: 0 / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.4258, allocations: 267.2 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4258, allocations: 7.922 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.4259, allocations: 12 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4259, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4259, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4259, allocations: 3.938 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4259, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.4261, allocations: 172.4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.4261, allocations: 11.92 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4261, allocations: 0 / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4262, allocations: 12.08 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.4262, allocations: 4 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4262, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.802e-05/0.4263, allocations: 75.28 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4263, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002533/0.4265, allocations: 31.86 kB / 1.288 GB, free: 6.77 MB / 0.9825 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.0002005/0.4267, allocations: 119.1 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.4269, allocations: 31.98 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4269, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.487e-05/0.4269, allocations: 23.94 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.4271, allocations: 7.875 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004962/0.4276, allocations: 192.8 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.4277, allocations: 67.34 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.868e-05/0.4278, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.4278, allocations: 15.38 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of SimCode: time 5.82e-07/0.4278, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.003609/0.4314, allocations: 0.6368 MB / 1.289 GB, free: 5.66 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.466835660859942]