Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_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.005397/0.005397, allocations: 98.48 kB / 15.73 MB, free: 6.004 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.001421/0.001421, allocations: 192.8 kB / 16.67 MB, free: 5.934 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.572/2.572, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2775, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001706/0.2793, allocations: 0.7712 MB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008992/0.2802, allocations: 0.8662 MB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.2802, allocations: 0 / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.2803, allocations: 7.875 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.2803, allocations: 11.86 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.2805, allocations: 43.89 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2806, allocations: 83.88 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2807, allocations: 31.97 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.2808, allocations: 43.78 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.2809, allocations: 47.81 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.2809, allocations: 8 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.2809, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.281, allocations: 19.92 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.281, allocations: 35.84 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2812, allocations: 95.59 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2812, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2812, allocations: 0 / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2812, allocations: 0 / 1.222 GB, free: 12.2 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.0005778/0.2818, allocations: 391.1 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2818, allocations: 8.031 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.2818, allocations: 46.67 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.2819, allocations: 8.891 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.282, allocations: 180.3 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.282, allocations: 8.359 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.2821, allocations: 4.125 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2823, allocations: 105.6 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2824, allocations: 0 / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2824, allocations: 7.938 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2824, allocations: 4 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003658/0.2828, allocations: 99.84 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.2833, allocations: 340.7 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.2839, allocations: 130.5 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.2841, allocations: 52.81 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2841, allocations: 3.984 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.2841, allocations: 30.56 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.2841, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006315/0.2847, allocations: 185.5 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.2848, allocations: 55.41 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2849, allocations: 137.6 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2849, allocations: 25.7 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.285, allocations: 96.08 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.285, allocations: 19.86 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.2851, allocations: 25.7 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2852, allocations: 322.8 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.2854, allocations: 43.95 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.2856, allocations: 43.95 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.2859, allocations: 100.8 kB / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2859, allocations: 0 / 1.225 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003997/0.2863, allocations: 138 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2863, allocations: 4 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2863, allocations: 4 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.2864, allocations: 3.938 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.2865, allocations: 27.97 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2865, allocations: 8 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.2867, allocations: 15.92 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2867, allocations: 3.984 kB / 1.225 GB, free: 9.344 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: 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 8.251e-05/0.2868, allocations: 113.8 kB / 1.225 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.2868, allocations: 7.953 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.2873, allocations: 153.9 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2873, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2873, allocations: 11.86 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2873, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.2875, allocations: 193.6 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2875, allocations: 0 / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.2877, allocations: 35.97 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.2877, allocations: 0 / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2877, allocations: 3.984 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2877, allocations: 0 / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2877, allocations: 3.938 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.2881, allocations: 235.3 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.2882, allocations: 89.06 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.2882, allocations: 0 / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.2884, allocations: 15.92 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.2884, allocations: 23.91 kB / 1.226 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.2885, allocations: 4 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.2885, allocations: 95.27 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002142/0.2887, allocations: 16 kB / 1.226 GB, free: 8.25 MB / 0.9825 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.0007446/0.2895, allocations: 0.7753 MB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.2899, allocations: 107.8 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2899, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.2901, allocations: 59.94 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2904, allocations: 11.94 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2924, allocations: 1.541 MB / 1.228 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2927, allocations: 0.6963 MB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.2927, allocations: 11.98 kB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.2928, allocations: 27.42 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.2928, allocations: 4 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.396/3.689, allocations: 2.688 MB / 1.231 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/18.54, allocations: 21.88 kB / 1.232 GB, free: 2.273 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches