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.008043/0.008043, allocations: 104.2 kB / 15.74 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.001994/0.001994, allocations: 196.2 kB / 16.68 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.409/1.409, 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 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 64.08 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8727, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002101/0.8749, allocations: 0.7792 MB / 1.088 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.876, allocations: 0.8651 MB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.8761, allocations: 2.438 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.8761, allocations: 8.953 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.8762, allocations: 10.38 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.8764, allocations: 45.42 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.8766, allocations: 83.14 kB / 1.089 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.8767, allocations: 26.86 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.8768, allocations: 36.31 kB / 1.089 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.877, allocations: 51.69 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.877, allocations: 8.406 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.877, allocations: 7.719 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.886e-05/0.8771, allocations: 23.7 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.8771, allocations: 35.27 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.8773, allocations: 83.25 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8773, allocations: 0 / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8773, allocations: 1.219 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8773, allocations: 0 / 1.089 GB, free: 3.906 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.0006395/0.878, allocations: 396.7 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.878, allocations: 9.5 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.8781, allocations: 42.08 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.8781, allocations: 9.688 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.8782, allocations: 178.4 kB / 1.09 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.8782, allocations: 7.625 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8782, allocations: 7.906 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.8786, allocations: 109.1 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.8786, allocations: 0 / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.8786, allocations: 5.766 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8786, allocations: 2 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003802/0.879, allocations: 96.11 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.8795, allocations: 345 kB / 1.091 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.8801, allocations: 122.4 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.8803, allocations: 60.16 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.8803, allocations: 5.078 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.8803, allocations: 35.84 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.8804, allocations: 0 / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007375/0.8811, allocations: 179.2 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.8811, allocations: 52.78 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.8812, allocations: 132 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.8813, allocations: 30.92 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.8813, allocations: 92.06 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.8813, allocations: 20.72 kB / 1.091 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.8814, allocations: 22.8 kB / 1.091 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.8814, allocations: 315.8 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.8817, allocations: 52.3 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.8819, allocations: 49.12 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.8822, allocations: 95.83 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8822, allocations: 0 / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004202/0.8827, allocations: 138.8 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.8827, allocations: 5.766 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8827, allocations: 4 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8827, allocations: 5.453 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.8829, allocations: 24.7 kB / 1.092 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8829, allocations: 3.938 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.883, allocations: 16.66 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.883, allocations: 6.922 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.349e-05/0.8831, allocations: 114.8 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.8831, allocations: 7.125 kB / 1.092 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004818/0.8836, allocations: 149.3 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.8836, allocations: 5.781 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8837, allocations: 4.5 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8837, allocations: 0.6094 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.8838, allocations: 198.3 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8838, allocations: 2.141 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.884, allocations: 22.92 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.884, allocations: 0.6562 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.884, allocations: 6.156 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.884, allocations: 1.484 kB / 1.093 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8841, allocations: 4.688 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.8845, allocations: 235.5 kB / 1.093 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.8845, allocations: 84.08 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.8846, allocations: 0.5625 kB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.8847, allocations: 20.03 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.8848, allocations: 33.61 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.8848, allocations: 2.922 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.8849, allocations: 92.7 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8849, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002514/0.8851, allocations: 20.03 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.0006804/0.8858, allocations: 0.7704 MB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.8863, allocations: 107.8 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8863, allocations: 0 / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.8865, allocations: 65.16 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.8869, allocations: 14.61 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.002127/0.889, allocations: 1.533 MB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.8893, allocations: 0.6918 MB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.968e-05/0.8894, allocations: 15.67 kB / 1.096 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.8894, allocations: 31.47 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.8895, allocations: 1.031 kB / 1.096 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.9092, allocations: 2.692 MB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.742, allocations: 16.8 kB / 1.099 GB, free: 13.93 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