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.005092/0.005092, allocations: 101 kB / 15.73 MB, free: 6.059 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.001308/0.001308, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 67.84 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.8098, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002102/0.8119, allocations: 0.7641 MB / 1.221 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.8131, allocations: 0.8701 MB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.8132, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.494e-05/0.8132, allocations: 11.86 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.527e-05/0.8133, allocations: 3.938 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.8135, allocations: 47.88 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.8137, allocations: 83.83 kB / 1.222 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.8138, allocations: 23.98 kB / 1.222 GB, free: 244 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.8139, allocations: 47.78 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.814, allocations: 43.83 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.8141, allocations: 8 kB / 1.222 GB, free: 144 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.8141, allocations: 8 kB / 1.222 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.8141, allocations: 27.89 kB / 1.222 GB, free: 108 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.8142, allocations: 27.86 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.8144, allocations: 90.41 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8144, allocations: 0 / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8144, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.8144, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 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.0006945/0.8151, allocations: 392.1 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.8152, allocations: 12.03 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/0.8153, allocations: 34.75 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.8153, allocations: 8.891 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.8155, allocations: 188 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.8155, allocations: 12.38 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.8155, allocations: 8.125 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.8159, allocations: 101.6 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8159, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.8159, allocations: 4 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8159, allocations: 3.938 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.8163, allocations: 99.84 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.8169, allocations: 344.6 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.8175, allocations: 122.5 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.8177, allocations: 56.81 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.8178, allocations: 7.984 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.8178, allocations: 30.56 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.8178, allocations: 3.938 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000725/0.8185, allocations: 185.7 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.8186, allocations: 51.41 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.8187, allocations: 125.8 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8188, allocations: 29.69 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.8188, allocations: 96.03 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.8189, allocations: 19.8 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.8189, allocations: 25.7 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.8191, allocations: 326.8 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.8193, allocations: 43.95 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8195, allocations: 48.02 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.8199, allocations: 104.8 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8199, allocations: 0 / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004293/0.8203, allocations: 133.6 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.8203, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8203, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8204, allocations: 3.984 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8205, allocations: 31.91 kB / 1.225 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8206, allocations: 7.938 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.8207, allocations: 11.97 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.8207, allocations: 4 kB / 1.225 GB, free: 13.13 MB / 0.9512 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 9.783e-05/0.8208, allocations: 113.8 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.8208, allocations: 7.953 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004945/0.8213, allocations: 149.9 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.8214, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8214, allocations: 7.875 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.8214, allocations: 4 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.8216, allocations: 197.6 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8216, allocations: 0 / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.8218, allocations: 31.91 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.8218, allocations: 4 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.8218, allocations: 4 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8218, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.8218, allocations: 3.938 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.8223, allocations: 227.4 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.8224, allocations: 89 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.8224, allocations: 8 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.8226, allocations: 11.97 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.8227, allocations: 27.86 kB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.8227, allocations: 8 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.8227, allocations: 91.27 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8227, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002332/0.823, allocations: 19.94 kB / 1.226 GB, free: 12.04 MB / 0.9512 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.0008596/0.8238, allocations: 0.7754 MB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.8243, allocations: 104.4 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8243, allocations: 0 / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.8245, allocations: 64.09 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.8249, allocations: 18.12 kB / 1.227 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.8271, allocations: 1.549 MB / 1.228 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.8275, allocations: 0.6924 MB / 1.229 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.201e-05/0.8275, allocations: 8 kB / 1.229 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.8276, allocations: 35.41 kB / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.8276, allocations: 0 / 1.229 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.8514, allocations: 2.692 MB / 1.231 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/9.122, allocations: 12.38 kB / 1.232 GB, free: 6.055 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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