Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_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.009696/0.009696, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001992/0.001992, allocations: 190 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 64.14 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8761/0.8776, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001903/0.8795, allocations: 0.7859 MB / 1.088 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.8805, allocations: 0.8603 MB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.8806, allocations: 1.062 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.8806, allocations: 9.141 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.8807, allocations: 15.28 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.8809, allocations: 34.28 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.8811, allocations: 91.19 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.8812, allocations: 25.34 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.8813, allocations: 36.14 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.8814, allocations: 49.89 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.8814, allocations: 7.344 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.8815, allocations: 7.688 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.309e-05/0.8815, allocations: 20.38 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.8815, allocations: 42.73 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.8817, allocations: 85 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8817, allocations: 1.312 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8817, allocations: 0 / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.8818, allocations: 7.938 kB / 1.089 GB, free: 3.91 MB / 0.8575 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.0005864/0.8823, allocations: 396.9 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.8824, allocations: 13.34 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.8824, allocations: 37.67 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.8825, allocations: 8.172 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.8826, allocations: 176.2 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8826, allocations: 2.406 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.8826, allocations: 16.03 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.883, allocations: 105.7 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.883, allocations: 1.156 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.883, allocations: 0 / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.883, allocations: 1.438 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.8834, allocations: 102.5 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.8839, allocations: 348.5 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006494/0.8846, allocations: 118.2 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.8848, allocations: 59.64 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.8848, allocations: 5.656 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.8849, allocations: 31.53 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.8849, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000726/0.8856, allocations: 187.3 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.8856, allocations: 56.52 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.82e-05/0.8857, allocations: 127 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.8858, allocations: 26.64 kB / 1.091 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/0.8858, allocations: 97.48 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.8858, allocations: 16.42 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.8859, allocations: 23.58 kB / 1.091 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.8859, allocations: 327.1 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.8862, allocations: 47.48 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.8863, allocations: 45.16 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.8867, allocations: 100.5 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8867, allocations: 0 / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004499/0.8872, allocations: 139.4 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8872, allocations: 5.219 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.8872, allocations: 0.5625 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.8872, allocations: 0.5 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.8874, allocations: 25.52 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8875, allocations: 8.016 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.8876, allocations: 16.42 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.8876, allocations: 10.89 kB / 1.092 GB, free: 1.898 MB / 0.8575 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 6.723e-05/0.8877, allocations: 113.9 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.8877, allocations: 3.672 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.8882, allocations: 157.7 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8882, allocations: 0.8438 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8882, allocations: 4.656 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.8882, allocations: 4.688 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8884, allocations: 199 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8884, allocations: 0.5156 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.8886, allocations: 23.83 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8886, allocations: 0.7188 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8886, allocations: 6.156 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.8886, allocations: 0.7188 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8887, allocations: 5.422 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.8891, allocations: 238.9 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.8892, allocations: 79.91 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.8892, allocations: 4.969 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.8893, allocations: 13.66 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.8894, allocations: 23.97 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.8895, allocations: 4.125 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.8895, allocations: 96.44 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8895, allocations: 3.938 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002426/0.8898, allocations: 19.77 kB / 1.093 GB, free: 1.121 MB / 0.8575 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.0007329/0.8905, allocations: 0.7667 MB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.891, allocations: 108.3 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.891, allocations: 0 / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.8912, allocations: 64.77 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.8916, allocations: 13.11 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.8938, allocations: 1.533 MB / 1.095 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.894, allocations: 0.6921 MB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.074e-05/0.8941, allocations: 16.05 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.8942, allocations: 30.8 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.8942, allocations: 0.7188 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.914, allocations: 2.705 MB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.769, allocations: 11.92 kB / 1.099 GB, free: 13.92 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches