Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001975/0.001975, 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.002515/0.002515, allocations: 208.7 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.793 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.782/2.782, allocations: 476 MB / 0.7699 GB, free: 4.715 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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",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.002154/0.002154, allocations: 68.03 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3875, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003975/0.3915, allocations: 1.297 MB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3929, allocations: 0.5506 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.393, allocations: 0 / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.393, allocations: 3.938 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.393, allocations: 4 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.3939, allocations: 155.3 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.394, allocations: 15.92 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.394, allocations: 7.938 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.059e-05/0.3941, allocations: 8 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.3941, allocations: 15.91 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3942, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.3947, allocations: 263.5 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.3948, allocations: 7.984 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3948, allocations: 15.92 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3952, allocations: 136.8 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3952, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3952, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.3952, allocations: 0 / 1.285 GB, free: 9.98 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.000613/0.3958, allocations: 289.9 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.3959, allocations: 12.02 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.3959, allocations: 30.75 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.396, allocations: 4.938 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3961, allocations: 102.5 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3961, allocations: 12.38 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.3962, allocations: 384 / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3964, allocations: 67.95 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3964, allocations: 3.938 kB / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3964, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3964, allocations: 0 / 1.285 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.282e-05/0.3965, allocations: 15.92 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3967, allocations: 124.8 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.397, allocations: 38.61 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.397, allocations: 20.94 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.3971, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.3971, allocations: 34.56 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.3971, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0008678/0.398, allocations: 249.3 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.398, allocations: 51.41 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3982, allocations: 101.8 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.3982, allocations: 29.7 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3982, allocations: 80.14 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.3983, allocations: 23.73 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.3984, allocations: 29.7 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3985, allocations: 314.8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.3986, allocations: 12 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.3986, allocations: 11.98 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.3987, allocations: 28.86 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3987, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001343/0.3988, allocations: 73.56 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3988, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3989, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3989, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.3989, allocations: 8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3989, allocations: 3.984 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.399, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.399, allocations: 4 kB / 1.287 GB, free: 7.992 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 0.0001033/0.3991, allocations: 113.8 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3991, allocations: 7.891 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3993, allocations: 73.75 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3993, allocations: 7.984 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3993, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3993, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.3998, allocations: 282.4 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3998, allocations: 32 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.3998, allocations: 19.98 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3998, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3999, allocations: 4 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3999, allocations: 0 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3999, allocations: 4 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4001, allocations: 176.3 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.4002, allocations: 11.97 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.4002, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.4002, allocations: 7.938 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.4003, allocations: 3.984 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4003, allocations: 12.06 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.486e-05/0.4003, allocations: 79.28 kB / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4003, allocations: 0 / 1.287 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002623/0.4006, allocations: 23.81 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0007869/0.4014, allocations: 0.7327 MB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4015, allocations: 35.98 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4015, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.4015, allocations: 16.19 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4018, allocations: 10.3 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4033, allocations: 1.32 MB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.532e-05/0.4034, allocations: 69.59 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.4034, allocations: 11.98 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.4035, allocations: 15.44 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of SimCode: time 8.62e-07/0.4035, allocations: 0 / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/0.4366, allocations: 2.105 MB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.28, allocations: 14.42 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dp in file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.2863627220504]