Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001499/0.001499, 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.001767/0.001767, allocations: 211.8 kB / 22.25 MB, free: 5.258 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.785 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.06/3.06, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.002105/0.002105, allocations: 74.56 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002929/0.351, allocations: 1.478 MB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3522, allocations: 0.5576 MB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.3522, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.967e-05/0.3523, allocations: 7.938 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.3523, allocations: 7.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.353, allocations: 167.3 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.927e-05/0.3531, allocations: 55.78 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.3532, allocations: 0 / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.3532, allocations: 27.91 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.3533, allocations: 19.92 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3533, allocations: 4 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004598/0.3538, allocations: 279.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3538, allocations: 7.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.3538, allocations: 19.92 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.3541, allocations: 171.6 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3541, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.279e-06/0.3542, allocations: 4 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.3542, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007057/0.3549, allocations: 321.8 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3549, allocations: 11.97 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.3549, allocations: 38.75 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.355, allocations: 16.83 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3551, allocations: 110.5 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3551, allocations: 8.375 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3552, allocations: 8.375 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.3554, allocations: 127.1 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3555, allocations: 7.938 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3555, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3555, allocations: 0 / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3557, allocations: 51.95 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005676/0.3563, allocations: 295.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.3565, allocations: 78.53 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3567, allocations: 28.83 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3567, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3567, allocations: 34.5 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3567, allocations: 0 / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001536/0.3582, allocations: 0.5035 MB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3583, allocations: 55.41 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.774e-05/0.3584, allocations: 97.94 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3584, allocations: 33.7 kB / 1.368 GB, free: 9.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.3584, allocations: 88.12 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3585, allocations: 43.64 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3585, allocations: 25.72 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3587, allocations: 318.8 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3588, allocations: 27.98 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3589, allocations: 35.97 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3591, allocations: 71.58 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3591, allocations: 4 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003184/0.3595, allocations: 121.7 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3595, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3595, allocations: 4.047 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3595, allocations: 3.984 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.3596, allocations: 23.98 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3596, allocations: 7.875 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.3597, allocations: 11.98 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3597, allocations: 4 kB / 1.369 GB, free: 8.422 MB / 1.061 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 9.376e-05/0.3598, allocations: 121.8 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.3598, allocations: 0 / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/0.3602, allocations: 129.6 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3602, allocations: 0 / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3602, allocations: 4.031 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3602, allocations: 3.938 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.3608, allocations: 353.5 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3608, allocations: 4 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.3609, allocations: 31.97 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.3609, allocations: 7.938 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.361, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.361, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.361, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005303/0.3615, allocations: 255.3 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-06/0.3615, allocations: 0 / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3615, allocations: 8 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3616, allocations: 16.02 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.3617, allocations: 3.984 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3617, allocations: 8 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.3617, allocations: 79.28 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3617, allocations: 0 / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002852/0.362, allocations: 39.88 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0009229/0.3629, allocations: 0.822 MB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.3633, allocations: 76 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3633, allocations: 0 / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3634, allocations: 47.91 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3637, allocations: 8 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.366, allocations: 1.6 MB / 1.372 GB, free: 4.637 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.899e-05/0.3661, allocations: 79.27 kB / 1.372 GB, free: 4.539 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.3661, allocations: 20.59 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.3662, allocations: 23.44 kB / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.3662, allocations: 0 / 1.372 GB, free: 4.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.4007, allocations: 2.853 MB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.85, allocations: 6.172 kB / 1.375 GB, free: 1.82 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_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_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dp in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable dp from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp) in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp) from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! Error: Could not read variable der(dp_comp) in file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv. Warning: Get data of variable der(dp_comp) from file Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.112109919078648]