Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7424 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.56 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2877, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002411/0.2901, allocations: 0.6979 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2914, allocations: 0.8001 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.785e-05/0.2915, allocations: 4 kB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2915, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.2916, allocations: 11.92 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2917, allocations: 11.97 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.233e-05/0.2918, allocations: 43.86 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.292, allocations: 8 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.292, allocations: 27.86 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.2921, allocations: 19.91 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2921, allocations: 8 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.2922, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.003e-05/0.2922, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.2922, allocations: 23.84 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.2923, allocations: 39.88 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2924, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000566/0.2929, allocations: 363.7 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.293, allocations: 8.031 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.293, allocations: 34.75 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.2931, allocations: 4.844 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2932, allocations: 180.2 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2932, allocations: 384 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2932, allocations: 384 / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.2935, allocations: 74.16 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.2935, allocations: 3.938 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.2935, allocations: 4 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2935, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.2938, allocations: 63.92 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.2942, allocations: 272.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2945, allocations: 58.47 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2946, allocations: 36.92 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.2946, allocations: 0 / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2947, allocations: 34.56 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.665e-06/0.2947, allocations: 7.984 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005424/0.2952, allocations: 125.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.2953, allocations: 55.41 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.2954, allocations: 105.8 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2954, allocations: 25.7 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.2955, allocations: 100.1 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.2955, allocations: 11.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.2956, allocations: 21.66 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2957, allocations: 310.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.2958, allocations: 31.95 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.296, allocations: 35.97 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.2962, allocations: 68.72 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2962, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.2966, allocations: 93.62 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2966, allocations: 12 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2966, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2966, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2967, allocations: 23.91 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2967, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.2968, allocations: 11.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.2968, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.53e-05/0.2969, allocations: 113.8 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.297, allocations: 7.906 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.2973, allocations: 101.5 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2973, allocations: 4 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2973, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2973, allocations: 0 / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.2975, allocations: 181.5 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2975, allocations: 4 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.2976, allocations: 19.86 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2976, allocations: 4 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2977, allocations: 0 / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.298, allocations: 201.2 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.2981, allocations: 81.02 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2981, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.2982, allocations: 7.984 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.2982, allocations: 8.406 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2983, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.2983, allocations: 91.58 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2983, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002084/0.2985, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0006961/0.2992, allocations: 0.7396 MB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003296/0.2996, allocations: 71.92 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2996, allocations: 0 / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.2997, allocations: 39.89 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.3, allocations: 10.03 kB / 1.069 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.3005, allocations: 159.2 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3008, allocations: 0.6807 MB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.816e-05/0.3008, allocations: 4 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.3009, allocations: 19.42 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3009, allocations: 0 / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.564/0.8649, allocations: 1.579 MB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.59, allocations: 9.375 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches