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.001174/0.001174, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001285/0.001285, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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 2.885/2.885, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.001791/0.001791, allocations: 65.41 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 179 MB / 1.345 GB, free: 456 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002226/0.2793, allocations: 1.303 MB / 1.347 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.2803, allocations: 0.6111 MB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.2803, allocations: 4 kB / 1.347 GB, free: 14.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.2803, allocations: 3.938 kB / 1.347 GB, free: 14.51 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.726e-05/0.2803, allocations: 7.922 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.2808, allocations: 139.4 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.433e-05/0.2809, allocations: 19.92 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.2809, allocations: 8 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.44e-05/0.2809, allocations: 7.938 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.281, allocations: 15.98 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.996e-06/0.281, allocations: 3.938 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.2815, allocations: 339.3 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.2815, allocations: 7.984 kB / 1.348 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2815, allocations: 11.94 kB / 1.348 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.2817, allocations: 139.9 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2817, allocations: 3.938 kB / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2817, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2817, allocations: 0 / 1.348 GB, free: 13.82 MB / 1.045 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.000347/0.2821, allocations: 289.9 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.2821, allocations: 8.031 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.849e-06/0.2821, allocations: 192 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.974e-05/0.2821, allocations: 38.73 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.2822, allocations: 4.938 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.431e-05/0.2823, allocations: 118.4 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.2823, allocations: 384 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2823, allocations: 384 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.462e-05/0.2824, allocations: 46 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2824, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.2824, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2824, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.2824, allocations: 15.94 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.2826, allocations: 124.8 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.2827, allocations: 38.61 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.2828, allocations: 20.94 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2828, allocations: 4 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2828, allocations: 42.5 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2828, allocations: 0 / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0005233/0.2833, allocations: 229.1 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2834, allocations: 51.41 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.2834, allocations: 101.8 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2834, allocations: 25.7 kB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2835, allocations: 88.14 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.2835, allocations: 23.78 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.2835, allocations: 25.66 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2837, allocations: 314.8 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2837, allocations: 7.984 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.2837, allocations: 16.06 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.2838, allocations: 32.86 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2838, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.961e-05/0.2839, allocations: 81.5 kB / 1.35 GB, free: 11.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.2839, allocations: 7.938 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2839, allocations: 0 / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.2839, allocations: 0.5156 kB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.2839, allocations: 15.98 kB / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2839, allocations: 0 / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.585e-05/0.284, allocations: 0 / 1.35 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.284, allocations: 8 kB / 1.35 GB, free: 11.85 MB / 1.045 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 6.747e-05/0.284, allocations: 105.8 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.28e-05/0.284, allocations: 11.94 kB / 1.35 GB, free: 11.72 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.2842, allocations: 73.67 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2842, allocations: 3.984 kB / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.2842, allocations: 0 / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2842, allocations: 0 / 1.35 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.2845, allocations: 286.4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2845, allocations: 4 kB / 1.35 GB, free: 11.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.2845, allocations: 8 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2845, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.2845, allocations: 8.031 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2845, allocations: 3.984 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2845, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2847, allocations: 180.4 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.829e-05/0.2847, allocations: 8.016 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.2847, allocations: 8 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.2848, allocations: 4 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2848, allocations: 4.062 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2848, allocations: 7.984 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.2849, allocations: 79.28 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.2849, allocations: 0 / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002563/0.2851, allocations: 19.94 kB / 1.35 GB, free: 10.96 MB / 1.045 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.0004791/0.2856, allocations: 0.7365 MB / 1.351 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.2857, allocations: 31.98 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2857, allocations: 0 / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.2857, allocations: 19.94 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.286, allocations: 5.656 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2871, allocations: 1.331 MB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2874, allocations: 0.6883 MB / 1.353 GB, free: 8.004 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.564e-05/0.2874, allocations: 4 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2874, allocations: 11.44 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.2874, allocations: 0 / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.309, allocations: 1.746 MB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.6, allocations: 10.06 kB / 1.355 GB, free: 6.414 MB / 1.045 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 16.528872978989966]