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.001496/0.001496, allocations: 110.3 kB / 16.46 MB, free: 6.508 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.001817/0.001817, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] 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 3.064/3.064, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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="me",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="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.001971/0.001971, allocations: 72.78 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 180.2 MB / 1.348 GB, free: 9.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002413/0.3343, allocations: 1.3 MB / 1.349 GB, free: 8.641 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3353, allocations: 0.6076 MB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.3354, allocations: 0 / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.3354, allocations: 7.922 kB / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.3354, allocations: 0 / 1.35 GB, free: 8.023 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.336, allocations: 143.4 kB / 1.35 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.336, allocations: 19.92 kB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3361, allocations: 11.92 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.3361, allocations: 11.94 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.3362, allocations: 7.984 kB / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3362, allocations: 0 / 1.35 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.3367, allocations: 343.3 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3367, allocations: 7.984 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.3367, allocations: 11.94 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.337, allocations: 143.8 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.337, allocations: 0 / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.243e-06/0.337, allocations: 4 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.337, allocations: 0 / 1.35 GB, free: 7.332 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.000445/0.3374, allocations: 367 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3375, allocations: 11.98 kB / 1.351 GB, free: 6.91 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3375, allocations: 30.75 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.3375, allocations: 4.938 kB / 1.351 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3377, allocations: 172.2 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.3377, allocations: 4.375 kB / 1.351 GB, free: 6.656 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3377, allocations: 8.359 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.3378, allocations: 38.27 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3378, allocations: 7.938 kB / 1.351 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3378, allocations: 4 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3378, allocations: 3.984 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.3379, allocations: 4 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3381, allocations: 161.7 kB / 1.351 GB, free: 6.379 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3382, allocations: 42.55 kB / 1.351 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3383, allocations: 16.95 kB / 1.351 GB, free: 6.309 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3383, allocations: 11.97 kB / 1.351 GB, free: 6.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.3383, allocations: 30.56 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3383, allocations: 0 / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.000636/0.339, allocations: 302.3 kB / 1.351 GB, free: 5.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.339, allocations: 55.41 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.3391, allocations: 101.8 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.3391, allocations: 29.7 kB / 1.352 GB, free: 5.699 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.3391, allocations: 80.14 kB / 1.352 GB, free: 5.617 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.3392, allocations: 19.8 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.3392, allocations: 25.7 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3393, allocations: 310.8 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.3394, allocations: 15.94 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.3394, allocations: 11.98 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/0.3395, allocations: 33 kB / 1.352 GB, free: 5.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3395, allocations: 7.938 kB / 1.352 GB, free: 5.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001081/0.3396, allocations: 77.56 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3396, allocations: 4 kB / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3396, allocations: 0 / 1.352 GB, free: 5.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3396, allocations: 7.938 kB / 1.352 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.3397, allocations: 11.94 kB / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3397, allocations: 0 / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.3397, allocations: 0 / 1.352 GB, free: 5.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.3397, allocations: 4 kB / 1.352 GB, free: 5.074 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 8.629e-05/0.3398, allocations: 117.8 kB / 1.352 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.3398, allocations: 7.938 kB / 1.352 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.3399, allocations: 65.66 kB / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3399, allocations: 0 / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3399, allocations: 0 / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3399, allocations: 0 / 1.352 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.3403, allocations: 323.5 kB / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3403, allocations: 0 / 1.353 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.3403, allocations: 8 kB / 1.353 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3403, allocations: 8.031 kB / 1.353 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3403, allocations: 4 kB / 1.353 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3403, allocations: 3.938 kB / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3403, allocations: 0 / 1.353 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3405, allocations: 184.3 kB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3406, allocations: 81.09 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3406, allocations: 4 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3407, allocations: 4.062 kB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.3407, allocations: 4 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3407, allocations: 4 kB / 1.353 GB, free: 4.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.3407, allocations: 83.27 kB / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3407, allocations: 0 / 1.353 GB, free: 4.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002378/0.341, allocations: 15.94 kB / 1.353 GB, free: 4.055 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.0005993/0.3416, allocations: 0.7521 MB / 1.354 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3417, allocations: 31.94 kB / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3417, allocations: 0 / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.3417, allocations: 11.98 kB / 1.354 GB, free: 3.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3419, allocations: 9.875 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3433, allocations: 1.33 MB / 1.355 GB, free: 1.809 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3436, allocations: 0.6807 MB / 1.356 GB, free: 1.102 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.3437, allocations: 8.375 kB / 1.356 GB, free: 1.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/0.3437, allocations: 17.55 kB / 1.356 GB, free: 1.078 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3437, allocations: 0 / 1.356 GB, free: 1.078 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.3701, allocations: 1.622 MB / 1.357 GB, free: 15.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.259, allocations: 18.03 kB / 1.357 GB, free: 15.61 MB / 1.061 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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] "Error: Could not read variable m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.65460916608572]