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.00162/0.00162, 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.002525/0.002525, allocations: 191.1 kB / 16.25 MB, free: 6.625 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.589/1.589, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.409/2.409, allocations: 390.3 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002316, allocations: 71.88 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7632, allocations: 140.4 MB / 0.9492 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002127/0.7654, allocations: 0.8257 MB / 0.9501 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.7668, allocations: 0.8657 MB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.805e-05/0.7669, allocations: 1.281 kB / 0.9509 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.003e-05/0.767, allocations: 7.984 kB / 0.9509 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.7671, allocations: 5.375 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.7674, allocations: 34.72 kB / 0.9509 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.7675, allocations: 90.72 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.7677, allocations: 18.25 kB / 0.9511 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.7678, allocations: 46.03 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.7679, allocations: 48.59 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.768, allocations: 7.906 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.768, allocations: 7.719 kB / 0.9512 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.7681, allocations: 18.95 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.7681, allocations: 42.45 kB / 0.9512 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.7683, allocations: 82.61 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7683, allocations: 1.344 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7683, allocations: 3.938 kB / 0.9513 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.7683, allocations: 0 / 0.9513 GB, free: 7.508 MB / 0.7169 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.0006941/0.769, allocations: 398.3 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.7691, allocations: 10.72 kB / 0.9517 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.7691, allocations: 40.58 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.7692, allocations: 8.094 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.7693, allocations: 177 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.7693, allocations: 2.562 kB / 0.9519 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.7694, allocations: 8.125 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.7697, allocations: 112.7 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7698, allocations: 0 / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.7698, allocations: 1.156 kB / 0.952 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.7698, allocations: 9.219 kB / 0.952 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.7702, allocations: 99.41 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.7708, allocations: 350.9 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.7714, allocations: 118.7 kB / 0.9526 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.7716, allocations: 55.78 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.7717, allocations: 0 / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.7717, allocations: 36.19 kB / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.7717, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006631/0.7724, allocations: 188.2 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.7724, allocations: 52.5 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.7725, allocations: 126.1 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.7725, allocations: 25.7 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.7725, allocations: 95.23 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.7726, allocations: 22.25 kB / 0.9531 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.7726, allocations: 24.14 kB / 0.9532 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.23e-05/0.7727, allocations: 324.1 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.7729, allocations: 44.05 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.773, allocations: 45.33 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.7734, allocations: 106.7 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7734, allocations: 0 / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004203/0.7738, allocations: 139.8 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7739, allocations: 5.062 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7739, allocations: 1.344 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7739, allocations: 0 / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.7741, allocations: 28.09 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7741, allocations: 1.188 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7742, allocations: 18.92 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.7742, allocations: 6.391 kB / 0.9539 GB, free: 5.215 MB / 0.7169 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 8.442e-05/0.7743, allocations: 117.8 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.7744, allocations: 7.312 kB / 0.954 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.7749, allocations: 162.4 kB / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.7749, allocations: 1.5 kB / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7749, allocations: 0 / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.7749, allocations: 7.922 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.7751, allocations: 192.4 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7751, allocations: 0 / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.7753, allocations: 23.91 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7753, allocations: 5.375 kB / 0.9544 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.7753, allocations: 5.328 kB / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7754, allocations: 0 / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7754, allocations: 0 / 0.9544 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.7758, allocations: 243.5 kB / 0.9546 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.7759, allocations: 87.45 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.7759, allocations: 1.531 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.7761, allocations: 11.23 kB / 0.9547 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.7761, allocations: 25.72 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.7762, allocations: 3.031 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.7762, allocations: 97.02 kB / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7762, allocations: 0 / 0.9548 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002513/0.7765, allocations: 15.78 kB / 0.9548 GB, free: 4.328 MB / 0.7169 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.0006692/0.7772, allocations: 0.7695 MB / 0.9556 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000444/0.7776, allocations: 118.3 kB / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7776, allocations: 0 / 0.9557 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.7778, allocations: 67.47 kB / 0.9557 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.7782, allocations: 7.234 kB / 0.9558 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.7804, allocations: 1.542 MB / 0.9573 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.7805, allocations: 0.6982 MB / 0.9579 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.7806, allocations: 10.97 kB / 0.958 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.7807, allocations: 34.34 kB / 0.958 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.7807, allocations: 0 / 0.958 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.8013, allocations: 2.421 MB / 0.9604 GB, free: 180 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.8015, allocations: 194.7 kB / 0.9605 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.674, allocations: 4 kB / 0.9605 GB, free: 15.92 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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