Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.001926/0.001926, allocations: 103.4 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.002229/0.002229, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7343 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.72 kB / 0.8987 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3053, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002043/0.3074, allocations: 0.8536 MB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.3084, allocations: 0.8706 MB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.3084, allocations: 4 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.3085, allocations: 7.984 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.3086, allocations: 3.938 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3087, allocations: 35.97 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3089, allocations: 83.81 kB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.309, allocations: 27.92 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.3091, allocations: 39.86 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3091, allocations: 47.81 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.3092, allocations: 8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.3092, allocations: 8 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.3092, allocations: 27.86 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.3093, allocations: 39.77 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.3094, allocations: 75.73 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3094, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3094, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3094, allocations: 0 / 1.054 GB, free: 6.484 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.0005605/0.31, allocations: 399.5 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.31, allocations: 12.62 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3101, allocations: 38.73 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.3101, allocations: 8.844 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3102, allocations: 172.2 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3103, allocations: 8.375 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3103, allocations: 4.375 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.3106, allocations: 117.5 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3106, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3106, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3106, allocations: 0 / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003961/0.311, allocations: 95.91 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.3117, allocations: 348.6 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.3123, allocations: 122.6 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.3125, allocations: 56.81 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3125, allocations: 4 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3126, allocations: 30.56 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3126, allocations: 3.938 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006122/0.3132, allocations: 193.4 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.3132, allocations: 51.41 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.3133, allocations: 125.7 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3133, allocations: 25.7 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.3134, allocations: 104 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3134, allocations: 11.81 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.3135, allocations: 25.7 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.3136, allocations: 322.8 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3137, allocations: 43.95 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.3139, allocations: 47.95 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.3142, allocations: 96.78 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3142, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003781/0.3146, allocations: 141.4 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3146, allocations: 4 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3146, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3147, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3148, allocations: 23.97 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3148, allocations: 8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.315, allocations: 19.91 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.315, allocations: 4 kB / 1.057 GB, free: 3.637 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,max1.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.18e-05/0.3151, allocations: 113.8 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3151, allocations: 7.906 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.3155, allocations: 157.9 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3155, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3155, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3155, allocations: 7.938 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3157, allocations: 193.6 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3157, allocations: 0 / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3159, allocations: 27.95 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3159, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3159, allocations: 8 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3159, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3159, allocations: 0 / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3164, allocations: 247.8 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.3164, allocations: 81.02 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3164, allocations: 8 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3166, allocations: 11.98 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.3167, allocations: 23.91 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.3167, allocations: 8 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.3167, allocations: 91.27 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3168, allocations: 0 / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003999/0.3172, allocations: 15.94 kB / 1.058 GB, free: 2.555 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 (max1.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.0009034/0.3181, allocations: 0.7787 MB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006043/0.3187, allocations: 112 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3187, allocations: 0 / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.319, allocations: 67.88 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.3195, allocations: 14.19 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3223, allocations: 1.539 MB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3227, allocations: 0.6963 MB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.3228, allocations: 15.98 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3229, allocations: 27.42 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.7e-07/0.3229, allocations: 0 / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9719/1.295, allocations: 2.421 MB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.295, allocations: 214.2 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.447, allocations: 0.875 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches