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.001716/0.001716, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002236/0.002236, allocations: 216 kB / 22.26 MB, free: 5.113 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.031 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.755/2.755, allocations: 476.8 MB / 0.7707 GB, free: 4.328 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_dp_DerivativeCheck,fileNamePrefix="Buildings_11_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_11_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.002096/0.002096, allocations: 66.73 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002648/0.3378, allocations: 1.296 MB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.339, allocations: 0.6168 MB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.339, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.339, allocations: 0 / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.339, allocations: 11.92 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.3396, allocations: 142.6 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.3397, allocations: 27.86 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.3397, allocations: 3.984 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.3398, allocations: 4 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.3398, allocations: 11.94 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.3398, allocations: 0 / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005194/0.3404, allocations: 351.2 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.3404, allocations: 4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3404, allocations: 11.94 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.3407, allocations: 143.1 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3407, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3407, allocations: 3.938 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3407, allocations: 4 kB / 1.286 GB, free: 8.996 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.0004345/0.3411, allocations: 289.9 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.3412, allocations: 8.031 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.3412, allocations: 34.75 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3412, allocations: 8.938 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3414, allocations: 110.5 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3414, allocations: 384 / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3414, allocations: 4.375 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3415, allocations: 46 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3415, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3415, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3415, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.3416, allocations: 11.94 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.3418, allocations: 128.8 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.342, allocations: 46.61 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.342, allocations: 20.94 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.342, allocations: 3.984 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3421, allocations: 34.5 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3421, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006317/0.3427, allocations: 241 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3427, allocations: 55.41 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.3428, allocations: 97.84 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3428, allocations: 25.7 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.3429, allocations: 84.14 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.3429, allocations: 19.8 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3429, allocations: 25.7 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3431, allocations: 314.8 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.62e-05/0.3431, allocations: 12 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.3431, allocations: 15.98 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.323e-05/0.3432, allocations: 36.84 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3432, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001074/0.3433, allocations: 65.56 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3433, allocations: 10.81 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3433, allocations: 0 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3433, allocations: 3.938 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.3434, allocations: 8 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3434, allocations: 4 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.3434, allocations: 8 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3434, allocations: 3.984 kB / 1.288 GB, free: 7.035 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 8.372e-05/0.3435, allocations: 109.8 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.3435, allocations: 7.891 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3437, allocations: 77.75 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3437, allocations: 4 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3437, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3437, allocations: 3.984 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.3441, allocations: 286.4 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.3441, allocations: 12 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3441, allocations: 0 / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3441, allocations: 4 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.3443, allocations: 180.6 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.3444, allocations: 11.92 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3444, allocations: 7.984 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.3445, allocations: 0 / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.3445, allocations: 4 kB / 1.288 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.3445, allocations: 4 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.3445, allocations: 79.27 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3445, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002603/0.3448, allocations: 31.81 kB / 1.288 GB, free: 6.141 MB / 0.9825 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.0005989/0.3454, allocations: 0.7334 MB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.3455, allocations: 31.98 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3455, allocations: 0 / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.3456, allocations: 28.23 kB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.3458, allocations: 0 / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3472, allocations: 1.331 MB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.3475, allocations: 0.6807 MB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.3475, allocations: 4 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.3476, allocations: 15.44 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.3476, allocations: 3.938 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.3772, allocations: 1.717 MB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.26, allocations: 6.031 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_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.csv","/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] "Error: Could not read variable m_flow in file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.890325127000324]