Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_10_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.01038/0.01038, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002491/0.002491, allocations: 201.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 2.985/2.985, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.667/5.667, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003676/0.003676, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5588/0.5626, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.003011/0.5656, allocations: 0.7911 MB / 1.167 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.5675, allocations: 0.8624 MB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.5676, allocations: 0 / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.332e-05/0.5677, allocations: 7.875 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.5678, allocations: 15.88 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.5681, allocations: 35.94 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.5683, allocations: 87.77 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.5685, allocations: 27.98 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.5687, allocations: 39.89 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.5689, allocations: 43.83 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.465e-05/0.5689, allocations: 11.94 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.918e-05/0.569, allocations: 8 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.569, allocations: 23.97 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.255e-05/0.5691, allocations: 39.8 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5694, allocations: 87.88 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5694, allocations: 3.938 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5694, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5694, allocations: 0 / 1.168 GB, free: 5.227 MB / 0.92 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.001017/0.5704, allocations: 395.1 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.5705, allocations: 8.031 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.5706, allocations: 42.73 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.5707, allocations: 12.89 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.5709, allocations: 172.3 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.571, allocations: 4.375 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.571, allocations: 12.12 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.5715, allocations: 97.61 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5715, allocations: 7.938 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.5716, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.5716, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.5722, allocations: 103.9 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009634/0.5732, allocations: 340.6 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.5743, allocations: 126.5 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.5747, allocations: 56.81 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.5748, allocations: 0 / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.5748, allocations: 30.56 kB / 1.17 GB, free: 3.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.474e-06/0.5748, allocations: 7.938 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001277/0.5761, allocations: 189.4 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.5762, allocations: 55.41 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.5764, allocations: 117.8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5765, allocations: 29.7 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.5766, allocations: 100 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.5767, allocations: 23.8 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5768, allocations: 25.7 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.5771, allocations: 318.8 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.5775, allocations: 43.95 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.5778, allocations: 43.95 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/0.5785, allocations: 100.8 kB / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5786, allocations: 0 / 1.171 GB, free: 2.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008346/0.5794, allocations: 141.5 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.5795, allocations: 8 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5795, allocations: 0 / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.5795, allocations: 4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.5799, allocations: 23.97 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.5799, allocations: 4.484 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5801, allocations: 11.98 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.5802, allocations: 11.98 kB / 1.171 GB, free: 2.379 MB / 0.92 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 0.0001873/0.5804, allocations: 109.8 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.5804, allocations: 11.94 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009567/0.5814, allocations: 161.9 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5814, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5815, allocations: 3.938 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5815, allocations: 3.984 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.5819, allocations: 197.6 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.582, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.5823, allocations: 27.97 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5823, allocations: 0 / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.5823, allocations: 3.984 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5824, allocations: 0 / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.5824, allocations: 3.938 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.5834, allocations: 243.3 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.933e-05/0.5835, allocations: 85 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.5835, allocations: 0 / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5839, allocations: 11.98 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.5841, allocations: 27.91 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.5841, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001463/0.5843, allocations: 107.6 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5843, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005108/0.5849, allocations: 19.94 kB / 1.172 GB, free: 1.281 MB / 0.92 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.00178/0.5867, allocations: 0.7631 MB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008725/0.5876, allocations: 115.9 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5877, allocations: 0 / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.5881, allocations: 67.88 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.5888, allocations: 7.938 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.5931, allocations: 1.529 MB / 1.174 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.5936, allocations: 0.6924 MB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.5937, allocations: 8 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.5939, allocations: 35.42 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of SimCode: time 1.031e-06/0.5939, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.7006, allocations: 2.708 MB / 1.178 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/18.19, allocations: 7.953 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches