Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001793/0.001793, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002586/0.002586, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.124/3.124, allocations: 0.49 GB / 0.7916 GB, free: 33.5 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_dp_DerivativeCheck,fileNamePrefix="Buildings_12_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_12_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.001964/0.001964, allocations: 67.97 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 176.1 MB / 1.321 GB, free: 3.277 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00253/0.3389, allocations: 1.301 MB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.34, allocations: 0.6153 MB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.34, allocations: 0 / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.34, allocations: 0 / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.34, allocations: 7.922 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3406, allocations: 145.3 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.757e-05/0.3407, allocations: 19.86 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.3407, allocations: 4 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.3407, allocations: 8 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.3408, allocations: 19.91 kB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.3408, allocations: 0 / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.3413, allocations: 339.3 kB / 1.323 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.3413, allocations: 7.984 kB / 1.323 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.3414, allocations: 11.94 kB / 1.323 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.3416, allocations: 139.9 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3416, allocations: 3.938 kB / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3416, allocations: 0 / 1.323 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3416, allocations: 0 / 1.323 GB, free: 0.6641 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.0004777/0.3421, allocations: 367 kB / 1.324 GB, free: 260 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3421, allocations: 11.98 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.3422, allocations: 30.75 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3422, allocations: 4.938 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.3424, allocations: 168.3 kB / 1.324 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3424, allocations: 384 / 1.324 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3424, allocations: 8.375 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3425, allocations: 38.25 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.3425, allocations: 3.938 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3426, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3426, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.103e-05/0.3426, allocations: 11.92 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.3428, allocations: 165.6 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.343, allocations: 38.61 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.343, allocations: 16.94 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.343, allocations: 4 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3431, allocations: 34.56 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3431, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0006874/0.3438, allocations: 314.2 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3438, allocations: 59.34 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.3439, allocations: 93.84 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3439, allocations: 33.7 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.3439, allocations: 80.14 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.344, allocations: 27.78 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.344, allocations: 21.72 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3442, allocations: 310.8 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.3442, allocations: 15.98 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.3442, allocations: 11.94 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/0.3443, allocations: 28.86 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3443, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001097/0.3444, allocations: 77.55 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3444, allocations: 6.344 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3444, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3444, allocations: 4 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.3445, allocations: 11.98 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3445, allocations: 0 / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.3445, allocations: 4.062 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3445, allocations: 4 kB / 1.325 GB, free: 14.41 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.658e-05/0.3446, allocations: 109.8 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3446, allocations: 11.89 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.3448, allocations: 73.58 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3448, allocations: 4 kB / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3448, allocations: 0 / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3448, allocations: 0 / 1.325 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.3452, allocations: 311.4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3452, allocations: 3.938 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.3452, allocations: 8 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3452, allocations: 7.984 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3452, allocations: 4 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3452, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3452, allocations: 4.031 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.3454, allocations: 176.3 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3455, allocations: 85.61 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3455, allocations: 4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.3456, allocations: 0 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.3456, allocations: 3.938 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3456, allocations: 12.05 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.3457, allocations: 87.27 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3457, allocations: 3.938 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002433/0.3459, allocations: 15.94 kB / 1.326 GB, free: 13.38 MB / 1.029 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.0005997/0.3465, allocations: 0.7446 MB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3466, allocations: 36.09 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3466, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.3467, allocations: 19.94 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3469, allocations: 4 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3482, allocations: 1.319 MB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3485, allocations: 0.6768 MB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.3486, allocations: 4 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.3486, allocations: 19.42 kB / 1.329 GB, free: 10.42 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3486, allocations: 4 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.3763, allocations: 1.613 MB / 1.33 GB, free: 8.973 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.088, allocations: 9.594 kB / 1.331 GB, free: 8.965 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv. Warning: Get data of variable m_flow from file Buildings_12_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.648084886139259]