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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.1 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 476.7 MB / 0.7635 GB, free: 10.15 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002975/0.002975, allocations: 72.12 kB / 1.108 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7213, allocations: 168.7 MB / 1.272 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002374/0.7237, allocations: 1.292 MB / 1.274 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.7248, allocations: 0.615 MB / 1.274 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.7248, allocations: 0 / 1.274 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.7248, allocations: 3.938 kB / 1.274 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.7249, allocations: 0 / 1.274 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.7254, allocations: 147.3 kB / 1.274 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.7255, allocations: 19.92 kB / 1.274 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.7255, allocations: 7.984 kB / 1.274 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.7255, allocations: 11.94 kB / 1.274 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.7256, allocations: 8 kB / 1.274 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.7256, allocations: 0 / 1.274 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000542/0.7261, allocations: 347.3 kB / 1.275 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.7262, allocations: 3.938 kB / 1.275 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.7262, allocations: 11.92 kB / 1.275 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.7265, allocations: 145.4 kB / 1.275 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7265, allocations: 0 / 1.275 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7265, allocations: 0 / 1.275 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.7265, allocations: 0 / 1.275 GB, free: 1.902 MB / 0.9669 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.0004295/0.7269, allocations: 367.1 kB / 1.275 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7269, allocations: 16.56 kB / 1.275 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.727, allocations: 34.75 kB / 1.275 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.727, allocations: 0.9375 kB / 1.275 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.7271, allocations: 172.3 kB / 1.275 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.7271, allocations: 384 / 1.275 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.7272, allocations: 384 / 1.275 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.7273, allocations: 46.23 kB / 1.276 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7273, allocations: 3.938 kB / 1.276 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.7273, allocations: 4 kB / 1.276 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.7273, allocations: 0 / 1.276 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.159e-05/0.7273, allocations: 15.98 kB / 1.276 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.7275, allocations: 161.6 kB / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.7277, allocations: 38.56 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.7277, allocations: 16.86 kB / 1.276 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.7277, allocations: 0 / 1.276 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.7278, allocations: 38.66 kB / 1.276 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.7278, allocations: 0 / 1.276 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0006164/0.7284, allocations: 306.3 kB / 1.276 GB, free: 492 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.7284, allocations: 55.34 kB / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.7285, allocations: 97.86 kB / 1.276 GB, free: 316 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.7285, allocations: 25.7 kB / 1.276 GB, free: 284 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.7286, allocations: 88.12 kB / 1.276 GB, free: 192 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7286, allocations: 23.8 kB / 1.276 GB, free: 168 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.7286, allocations: 17.72 kB / 1.276 GB, free: 144 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7288, allocations: 322.8 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.7288, allocations: 4 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.7288, allocations: 12 kB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.7289, allocations: 40.83 kB / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7289, allocations: 0 / 1.277 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.729, allocations: 69.58 kB / 1.277 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.729, allocations: 13.5 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.729, allocations: 0 / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.729, allocations: 0 / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.7291, allocations: 12 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7291, allocations: 4 kB / 1.277 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.7291, allocations: 4 kB / 1.277 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.7291, allocations: 4.234 kB / 1.277 GB, free: 15.65 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 7.485e-05/0.7292, allocations: 111.4 kB / 1.277 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.7292, allocations: 7.922 kB / 1.277 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.7293, allocations: 86.03 kB / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7293, allocations: 0 / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7293, allocations: 0 / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7293, allocations: 0 / 1.277 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.7297, allocations: 311.4 kB / 1.277 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7297, allocations: 3.984 kB / 1.277 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.7298, allocations: 19.92 kB / 1.277 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7298, allocations: 0 / 1.277 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.7298, allocations: 0 / 1.277 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.7298, allocations: 8.031 kB / 1.277 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7298, allocations: 0 / 1.277 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.73, allocations: 180.3 kB / 1.278 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.73, allocations: 81.14 kB / 1.278 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.73, allocations: 0 / 1.278 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.7301, allocations: 7.984 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.7301, allocations: 12 kB / 1.278 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.7301, allocations: 4 kB / 1.278 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.7302, allocations: 75.28 kB / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7302, allocations: 0 / 1.278 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002479/0.7304, allocations: 23.94 kB / 1.278 GB, free: 14.62 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.0005695/0.731, allocations: 0.7505 MB / 1.278 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.7311, allocations: 35.92 kB / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7311, allocations: 0 / 1.279 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.7311, allocations: 19.92 kB / 1.279 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.7314, allocations: 4 kB / 1.279 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.7327, allocations: 1.334 MB / 1.28 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.733, allocations: 0.6768 MB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.733, allocations: 7.984 kB / 1.281 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.7331, allocations: 11.44 kB / 1.281 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.7331, allocations: 0 / 1.281 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.7582, allocations: 1.575 MB / 1.282 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.841/8.599, allocations: 11.89 kB / 1.282 GB, free: 10.18 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 14.440296252956614]