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.00139/0.00139, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001542/0.001542, allocations: 209.8 kB / 23.04 MB, free: 5.07 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.821/2.821, allocations: 476.7 MB / 0.7715 GB, free: 4.328 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_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_11_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.002059/0.002059, allocations: 64.48 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 170 MB / 1.284 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002317/0.3181, allocations: 1.296 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3192, allocations: 0.6168 MB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.3192, allocations: 0 / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.3193, allocations: 0 / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.3193, allocations: 7.922 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.3199, allocations: 148.6 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.241e-05/0.3199, allocations: 19.88 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.32, allocations: 4 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.246e-05/0.32, allocations: 11.97 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.3201, allocations: 11.94 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.3201, allocations: 0 / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.3206, allocations: 343.3 kB / 1.287 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.3206, allocations: 3.984 kB / 1.287 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.3207, allocations: 11.94 kB / 1.287 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.3209, allocations: 143.1 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3209, allocations: 4 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3209, allocations: 0 / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3209, allocations: 0 / 1.287 GB, free: 9.211 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.0004627/0.3214, allocations: 289.9 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3214, allocations: 12.03 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.923e-05/0.3215, allocations: 192 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.3215, allocations: 34.75 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.3215, allocations: 4.938 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.3216, allocations: 102.5 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3216, allocations: 8.359 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3217, allocations: 4.375 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3218, allocations: 45.94 kB / 1.287 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.3218, allocations: 4 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3218, allocations: 0 / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3218, allocations: 0 / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.3218, allocations: 11.98 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.322, allocations: 136.7 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3222, allocations: 50.55 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.3222, allocations: 16.86 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3223, allocations: 4.094 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.3223, allocations: 38.48 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3223, allocations: 0 / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006136/0.3229, allocations: 233.1 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.323, allocations: 55.41 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.323, allocations: 97.84 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3231, allocations: 29.64 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.3231, allocations: 84.14 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3231, allocations: 19.86 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3232, allocations: 17.72 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3233, allocations: 318.8 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.3233, allocations: 12 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3234, allocations: 15.98 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.3234, allocations: 36.8 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.3234, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001098/0.3235, allocations: 69.75 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3235, allocations: 8 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3236, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3236, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.018e-05/0.3236, allocations: 8 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3236, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.3236, allocations: 8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3236, allocations: 4.516 kB / 1.288 GB, free: 7.242 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 8.508e-05/0.3237, allocations: 119.1 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.3237, allocations: 7.891 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.3239, allocations: 69.75 kB / 1.289 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3239, allocations: 4 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3239, allocations: 0 / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3239, allocations: 3.984 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3242, allocations: 286.6 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.3242, allocations: 7.984 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.3243, allocations: 12 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3243, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3243, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3243, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.3243, allocations: 4 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3245, allocations: 184.3 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.3246, allocations: 7.984 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3246, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3246, allocations: 3.984 kB / 1.289 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3247, allocations: 4 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3247, allocations: 0 / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.212e-05/0.3247, allocations: 83.22 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3247, allocations: 0 / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002509/0.325, allocations: 31.86 kB / 1.289 GB, free: 6.34 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.0005663/0.3255, allocations: 0.7288 MB / 1.29 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.3256, allocations: 39.91 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3256, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.3257, allocations: 24.05 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.3259, allocations: 0 / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.3274, allocations: 1.331 MB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3277, allocations: 0.6768 MB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.3277, allocations: 4 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.3277, allocations: 11.44 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3277, allocations: 0 / 1.292 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.3502, allocations: 1.748 MB / 1.294 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.27, allocations: 10.41 kB / 1.294 GB, free: 1.812 MB / 0.9825 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.848876143980306]