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.00197/0.00197, allocations: 116.8 kB / 17.17 MB, free: 6 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.002392/0.002392, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.757/2.757, allocations: 476.7 MB / 0.7678 GB, free: 9.477 MB / 0.6075 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.002124/0.002124, allocations: 67.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.909, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002521/0.9115, allocations: 1.299 MB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.9126, allocations: 0.6221 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.9126, allocations: 0 / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.9127, allocations: 1.922 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.9127, allocations: 4.688 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.9133, allocations: 148.9 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.9134, allocations: 20.72 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.9135, allocations: 2.094 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.9135, allocations: 9.141 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.9136, allocations: 13.12 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9136, allocations: 5 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.9142, allocations: 341 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.9142, allocations: 1.359 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.9142, allocations: 16.94 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.9146, allocations: 139.9 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.9146, allocations: 0.5 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9146, allocations: 7.938 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.9146, allocations: 0.5 kB / 1.281 GB, free: 10.14 MB / 0.9981 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.0005516/0.9151, allocations: 368.1 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.9152, allocations: 10.06 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.9152, allocations: 0.75 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.9152, allocations: 32.55 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.9152, allocations: 2.5 kB / 1.282 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.9154, allocations: 162.8 kB / 1.282 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.9154, allocations: 10.53 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.9154, allocations: 5.906 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.9156, allocations: 39.84 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.9156, allocations: 0.5938 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.9156, allocations: 8.578 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.9156, allocations: 1.156 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.9156, allocations: 11.72 kB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.9158, allocations: 159.2 kB / 1.282 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.9161, allocations: 46.94 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.9161, allocations: 17.12 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.9161, allocations: 1.734 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.9162, allocations: 35.56 kB / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.9162, allocations: 0 / 1.282 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0007409/0.9169, allocations: 314.4 kB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.9169, allocations: 56.02 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.917, allocations: 100 kB / 1.283 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.917, allocations: 29.7 kB / 1.283 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.9171, allocations: 81.27 kB / 1.283 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.9171, allocations: 24.75 kB / 1.283 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.9171, allocations: 20.09 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9173, allocations: 313.4 kB / 1.283 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.924e-05/0.9173, allocations: 11.7 kB / 1.283 GB, free: 8.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.479e-05/0.9173, allocations: 16 kB / 1.283 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.262e-05/0.9174, allocations: 30.58 kB / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.9174, allocations: 0 / 1.283 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/0.9175, allocations: 75.73 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.9175, allocations: 8.75 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9175, allocations: 0.5625 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.9176, allocations: 1.344 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.173e-05/0.9176, allocations: 10.58 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.9176, allocations: 1.828 kB / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.9176, allocations: 0 / 1.283 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.9176, allocations: 6.375 kB / 1.283 GB, free: 8.164 MB / 0.9981 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.19e-05/0.9177, allocations: 112.9 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.9177, allocations: 9.828 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.9179, allocations: 72.88 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9179, allocations: 1.062 kB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9179, allocations: 4 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9179, allocations: 1.797 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.9183, allocations: 320.7 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9183, allocations: 0 / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.9183, allocations: 12.23 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9183, allocations: 1.672 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.9183, allocations: 1.25 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.9183, allocations: 2.125 kB / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9183, allocations: 0 / 1.284 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.9186, allocations: 184 kB / 1.284 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.9186, allocations: 89.78 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.9186, allocations: 1.953 kB / 1.284 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.9187, allocations: 6.188 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.9187, allocations: 4.203 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.9187, allocations: 2.531 kB / 1.284 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.586e-05/0.9188, allocations: 83.22 kB / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9188, allocations: 0 / 1.284 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002516/0.919, allocations: 19.22 kB / 1.284 GB, free: 7.297 MB / 0.9981 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.0006257/0.9196, allocations: 0.7443 MB / 1.285 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.9198, allocations: 25.81 kB / 1.285 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9198, allocations: 0 / 1.285 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.9198, allocations: 24.72 kB / 1.285 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.92, allocations: 9.562 kB / 1.285 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.9214, allocations: 1.325 MB / 1.286 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.9217, allocations: 0.6826 MB / 1.287 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.9217, allocations: 8.922 kB / 1.287 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.9218, allocations: 17.69 kB / 1.287 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.9218, allocations: 0.75 kB / 1.287 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.9415, allocations: 1.671 MB / 1.289 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.598/9.54, allocations: 6.609 kB / 1.289 GB, free: 4.211 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.692329488985706]