Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001411/0.001411, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.00155/0.00155, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.951/2.951, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.001931/0.001931, allocations: 72.52 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3164, allocations: 179 MB / 1.345 GB, free: 424 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002319/0.3188, allocations: 1.324 MB / 1.347 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3198, allocations: 0.6111 MB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.3198, allocations: 0 / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.3198, allocations: 7.984 kB / 1.347 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.32e-05/0.3199, allocations: 3.938 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.3204, allocations: 151.4 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.3205, allocations: 27.86 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.3205, allocations: 4 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.744e-05/0.3206, allocations: 19.98 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.396e-05/0.3206, allocations: 15.92 kB / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3206, allocations: 0 / 1.347 GB, free: 14.24 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.3211, allocations: 343.3 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.3212, allocations: 4 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.3212, allocations: 19.91 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.3214, allocations: 147.8 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3214, allocations: 0 / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3214, allocations: 0 / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3214, allocations: 0 / 1.348 GB, free: 13.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004446/0.3219, allocations: 305.8 kB / 1.348 GB, free: 13.4 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3219, allocations: 12.03 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.441e-05/0.322, allocations: 192 / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.322, allocations: 34.73 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.322, allocations: 4.938 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.3221, allocations: 102.5 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3221, allocations: 8.375 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3221, allocations: 8.266 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3223, allocations: 58 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3223, allocations: 3.984 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3223, allocations: 4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3223, allocations: 0 / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.3223, allocations: 23.91 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3225, allocations: 144.7 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3226, allocations: 58.5 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.3227, allocations: 28.84 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3227, allocations: 4 kB / 1.349 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3227, allocations: 38.5 kB / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3227, allocations: 0 / 1.349 GB, free: 12.78 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001144/0.3239, allocations: 439.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.3239, allocations: 59.41 kB / 1.349 GB, free: 12.22 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.292e-05/0.324, allocations: 89.86 kB / 1.349 GB, free: 12.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.324, allocations: 33.7 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.324, allocations: 80.14 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.3241, allocations: 39.62 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3241, allocations: 29.7 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3243, allocations: 318.8 kB / 1.35 GB, free: 11.61 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.3243, allocations: 24.11 kB / 1.35 GB, free: 11.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.3243, allocations: 20 kB / 1.35 GB, free: 11.57 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.3244, allocations: 56.78 kB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3244, allocations: 0 / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001525/0.3246, allocations: 102.7 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3246, allocations: 8 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3246, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3246, allocations: 0 / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3247, allocations: 19.98 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3247, allocations: 7.938 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.3248, allocations: 11.94 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.3248, allocations: 4 kB / 1.35 GB, free: 11.35 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 (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 8.679e-05/0.3249, allocations: 113.8 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.734e-05/0.3249, allocations: 7.984 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.3251, allocations: 109.8 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.3251, allocations: 4 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3251, allocations: 0 / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3251, allocations: 3.938 kB / 1.35 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3255, allocations: 333.5 kB / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3255, allocations: 0 / 1.351 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3256, allocations: 19.98 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3256, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3256, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3256, allocations: 7.938 kB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3256, allocations: 0 / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3259, allocations: 219.3 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.108e-06/0.3259, allocations: 8.094 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3259, allocations: 8 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.733e-05/0.326, allocations: 7.984 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/0.326, allocations: 3.984 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.326, allocations: 4 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.53e-05/0.3261, allocations: 83.28 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3261, allocations: 0 / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002624/0.3263, allocations: 35.81 kB / 1.351 GB, free: 10.32 MB / 1.045 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.0006368/0.327, allocations: 0.7826 MB / 1.352 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3271, allocations: 57.8 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3271, allocations: 0 / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.3272, allocations: 31.98 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3274, allocations: 4 kB / 1.352 GB, free: 9.418 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.3289, allocations: 1.509 MB / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3292, allocations: 0.6883 MB / 1.354 GB, free: 7.117 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.655e-05/0.3292, allocations: 15.92 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.3293, allocations: 23.38 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.3293, allocations: 4 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3527, allocations: 2.236 MB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.5, allocations: 17.53 kB / 1.356 GB, free: 5.008 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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: 17.667147654981818]