Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001246/0.001246, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 189 kB / 16.25 MB, free: 6.152 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.619/2.619, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001513, allocations: 68.81 kB / 0.8987 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2826, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001924/0.2845, allocations: 0.8458 MB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.2854, allocations: 0.8745 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.2854, allocations: 4 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.2855, allocations: 7.984 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.2856, allocations: 3.938 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.2857, allocations: 39.95 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.592e-05/0.2858, allocations: 79.83 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2859, allocations: 27.94 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.482e-05/0.286, allocations: 39.83 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.2861, allocations: 51.83 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2861, allocations: 8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.2862, allocations: 8 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.2862, allocations: 23.84 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2862, allocations: 39.78 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2863, allocations: 75.73 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2864, allocations: 4 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2864, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2864, allocations: 0 / 1.054 GB, free: 6.477 MB / 0.8106 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.0005909/0.287, allocations: 395.5 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.287, allocations: 8.625 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.2871, allocations: 42.73 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2871, allocations: 8.844 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2872, allocations: 172.2 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.2872, allocations: 8.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.2873, allocations: 4.375 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.2876, allocations: 109.5 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2876, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.2876, allocations: 8 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2876, allocations: 3.984 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.2879, allocations: 91.91 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2884, allocations: 352.6 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.289, allocations: 122.5 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.2892, allocations: 52.81 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2892, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2893, allocations: 34.56 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.2893, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006123/0.2899, allocations: 189.4 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2899, allocations: 55.41 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.29, allocations: 129.7 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.29, allocations: 29.7 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.2901, allocations: 99.97 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.2901, allocations: 11.81 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-05/0.2902, allocations: 29.7 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.2903, allocations: 318.8 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2904, allocations: 43.95 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2906, allocations: 43.95 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.2909, allocations: 100.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2909, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003707/0.2913, allocations: 141.4 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.2913, allocations: 4 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2913, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2914, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.2915, allocations: 35.95 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2915, allocations: 0 / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2916, allocations: 15.92 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2917, allocations: 7.984 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * 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.557e-05/0.2917, allocations: 113.8 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.2918, allocations: 3.906 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.2922, allocations: 157.9 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2922, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2922, allocations: 0 / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2922, allocations: 7.922 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2924, allocations: 201.5 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.2924, allocations: 0 / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.2926, allocations: 23.97 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2926, allocations: 4 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2926, allocations: 7.984 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2926, allocations: 4 kB / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2926, allocations: 0 / 1.058 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004164/0.2931, allocations: 243.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.2931, allocations: 81.02 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2931, allocations: 0 / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2933, allocations: 15.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.2933, allocations: 31.84 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.2934, allocations: 0 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.703e-05/0.2934, allocations: 95.27 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2934, allocations: 0 / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002215/0.2936, allocations: 16 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007006/0.2944, allocations: 0.7709 MB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.2948, allocations: 116 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2948, allocations: 0 / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.295, allocations: 67.88 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2953, allocations: 14.89 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2972, allocations: 1.544 MB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2974, allocations: 0.6924 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.22e-05/0.2975, allocations: 8 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.2976, allocations: 35.41 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2976, allocations: 0 / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.021/1.319, allocations: 2.425 MB / 1.064 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/1.319, allocations: 211.2 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.713, allocations: 2.672 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches