Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001847/0.001847, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002358/0.002358, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.832/2.832, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",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.002032/0.002032, allocations: 68.25 kB / 1.118 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3806, allocations: 169.9 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002954/0.3836, allocations: 1.516 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3848, allocations: 0.6323 MB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.3849, allocations: 0 / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.3849, allocations: 3.938 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.385, allocations: 11.92 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.3855, allocations: 161.1 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.3856, allocations: 51.8 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/0.3857, allocations: 7.984 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.3858, allocations: 15.94 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.3858, allocations: 31.89 kB / 1.287 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3858, allocations: 4 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.3864, allocations: 351.3 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.3864, allocations: 15.92 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3864, allocations: 23.92 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.3867, allocations: 174.9 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3867, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3867, allocations: 0 / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.3867, allocations: 0 / 1.287 GB, free: 8.711 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006583/0.3874, allocations: 333.7 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3874, allocations: 16.03 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.3875, allocations: 192 / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3875, allocations: 38.75 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.3875, allocations: 8.891 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.3876, allocations: 114.4 kB / 1.288 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.3877, allocations: 8.375 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3877, allocations: 8.328 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.388, allocations: 85.95 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.388, allocations: 4 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.388, allocations: 8 kB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.388, allocations: 0 / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.3882, allocations: 49.08 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3888, allocations: 287.8 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.3892, allocations: 82.53 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.3893, allocations: 32.83 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3893, allocations: 0 / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.3893, allocations: 34.5 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.3893, allocations: 0 / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001793/0.3911, allocations: 0.4996 MB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.3912, allocations: 55.34 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.3913, allocations: 105.8 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.3913, allocations: 29.7 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.3914, allocations: 88.03 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3914, allocations: 43.69 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.3915, allocations: 25.72 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3917, allocations: 314.8 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3918, allocations: 35.97 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3919, allocations: 35.98 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3922, allocations: 66.33 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3922, allocations: 0 / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003434/0.3925, allocations: 126.8 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3926, allocations: 6.5 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3926, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3926, allocations: 3.938 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.3927, allocations: 31.98 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3927, allocations: 11.92 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3928, allocations: 4 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3928, allocations: 4 kB / 1.29 GB, free: 5.914 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 (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 0.0001211/0.3929, allocations: 117.8 kB / 1.29 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.393, allocations: 8.141 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000405/0.3934, allocations: 129.7 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.3934, allocations: 8 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.3934, allocations: 3.938 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3934, allocations: 0 / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.394, allocations: 353.5 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.394, allocations: 4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.3942, allocations: 27.98 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3942, allocations: 3.938 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3942, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3942, allocations: 4 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3942, allocations: 0 / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.3947, allocations: 259.6 kB / 1.29 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.249e-05/0.3948, allocations: 7.891 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.3948, allocations: 0 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3949, allocations: 16.02 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3949, allocations: 8.047 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3949, allocations: 4 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.395, allocations: 83.28 kB / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.395, allocations: 0 / 1.291 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002744/0.3953, allocations: 39.86 kB / 1.291 GB, free: 4.773 MB / 0.9825 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.0009639/0.3962, allocations: 0.8253 MB / 1.291 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003332/0.3966, allocations: 71.95 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3966, allocations: 0 / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.3967, allocations: 47.91 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.397, allocations: 8 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.3994, allocations: 1.608 MB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3997, allocations: 0.6968 MB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.568e-05/0.3998, allocations: 12.59 kB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.3998, allocations: 27.42 kB / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3998, allocations: 0 / 1.294 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.4247, allocations: 2.5 MB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.06, allocations: 6.188 kB / 1.296 GB, free: 15.03 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.188025903014932]