Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 106.2 kB / 16.45 MB, free: 6.488 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.001506/0.001506, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.037/3.037, allocations: 0.49 GB / 0.7916 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002266/0.002266, allocations: 73.52 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3365, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00247/0.339, allocations: 1.297 MB / 1.322 GB, free: 2.023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.34, allocations: 0.6115 MB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.34, allocations: 0 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.3401, allocations: 0 / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.3401, allocations: 7.938 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.3407, allocations: 143.4 kB / 1.323 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.3408, allocations: 27.84 kB / 1.323 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.3408, allocations: 4 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.459e-05/0.3408, allocations: 7.984 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.3409, allocations: 11.88 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.3409, allocations: 0 / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005092/0.3414, allocations: 343.3 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.3414, allocations: 8 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.3414, allocations: 11.94 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3417, allocations: 151.8 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3417, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3417, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3417, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 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.0004792/0.3422, allocations: 359.1 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3422, allocations: 11.98 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.3423, allocations: 42.73 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3423, allocations: 4.938 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3425, allocations: 168.3 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3425, allocations: 384 / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.3425, allocations: 4.375 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3426, allocations: 42.19 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3426, allocations: 7.938 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.3427, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3427, allocations: 0 / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.3427, allocations: 11.98 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.3429, allocations: 161.7 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3431, allocations: 42.56 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.3431, allocations: 12.86 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3432, allocations: 4 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3432, allocations: 38.5 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3432, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006558/0.3439, allocations: 314.3 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3439, allocations: 55.41 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.823e-05/0.344, allocations: 93.86 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.344, allocations: 29.7 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.344, allocations: 80.14 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3441, allocations: 23.78 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.3441, allocations: 21.72 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3443, allocations: 314.8 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.3443, allocations: 19.98 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.3443, allocations: 8 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.3444, allocations: 32.84 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3444, allocations: 3.938 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.3445, allocations: 73.56 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3445, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3445, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3445, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.3446, allocations: 11.98 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3446, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3446, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3446, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 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.034e-05/0.3447, allocations: 109.8 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.3447, allocations: 11.89 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.3449, allocations: 73.58 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3449, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3449, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3449, allocations: 0 / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.3452, allocations: 327.5 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3452, allocations: 0 / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.3453, allocations: 11.98 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3453, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.3453, allocations: 4 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3453, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3453, allocations: 0 / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.3455, allocations: 188.3 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3456, allocations: 81.09 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.3456, allocations: 4 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.3456, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.3457, allocations: 7.984 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3457, allocations: 4 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.3457, allocations: 79.28 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3457, allocations: 0 / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002499/0.346, allocations: 15.94 kB / 1.326 GB, free: 13.44 MB / 1.029 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.0006203/0.3466, allocations: 0.7522 MB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.3467, allocations: 31.98 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3467, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.3467, allocations: 20 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.347, allocations: 9.969 kB / 1.327 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.3484, allocations: 1.332 MB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3487, allocations: 0.6768 MB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3487, allocations: 4 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3488, allocations: 19.42 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3488, allocations: 0 / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3787, allocations: 1.643 MB / 1.331 GB, free: 8.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.367, allocations: 11.59 kB / 1.331 GB, free: 8.984 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv. Warning: Get data of variable dp from file Buildings_12_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: 14.716298772022128]