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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001244/0.001244, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.393/2.393, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7746/0.776, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002069/0.7782, allocations: 0.8208 MB / 0.9499 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008126/0.779, allocations: 0.8587 MB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.7791, allocations: 5.375 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.7791, allocations: 7.922 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.7792, allocations: 3.938 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.7794, allocations: 39.67 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.7795, allocations: 85.95 kB / 0.9508 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.7796, allocations: 29.22 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.7797, allocations: 33.7 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.7798, allocations: 44.59 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.7798, allocations: 6.25 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.952e-05/0.7798, allocations: 4.062 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.7798, allocations: 22.5 kB / 0.951 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.7799, allocations: 27.45 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.78, allocations: 81.92 kB / 0.9511 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.78, allocations: 3.984 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.78, allocations: 0 / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.78, allocations: 5.375 kB / 0.9511 GB, free: 7.477 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.0005261/0.7805, allocations: 388.7 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7806, allocations: 9.906 kB / 0.9515 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.7806, allocations: 43.67 kB / 0.9515 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.7807, allocations: 9.062 kB / 0.9515 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.7808, allocations: 176.6 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.7808, allocations: 3.594 kB / 0.9517 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.7808, allocations: 8.75 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.7811, allocations: 115.6 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.7811, allocations: 0 / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.7811, allocations: 1 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7811, allocations: 1.125 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003427/0.7815, allocations: 104.7 kB / 0.9519 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.782, allocations: 342.6 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.7826, allocations: 126.4 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.7828, allocations: 55.69 kB / 0.9524 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.7829, allocations: 3.984 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.7829, allocations: 35.81 kB / 0.9524 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7829, allocations: 0 / 0.9524 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006509/0.7835, allocations: 181.3 kB / 0.9526 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.7836, allocations: 56.88 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.7837, allocations: 124 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.7837, allocations: 26.77 kB / 0.9528 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.7838, allocations: 103.5 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.7838, allocations: 17.75 kB / 0.9529 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.7838, allocations: 32.52 kB / 0.953 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.7839, allocations: 320.9 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.7841, allocations: 44.02 kB / 0.9533 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.7843, allocations: 48.17 kB / 0.9534 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.7846, allocations: 98.05 kB / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7846, allocations: 1.312 kB / 0.9535 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004192/0.7851, allocations: 143.3 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7851, allocations: 10.88 kB / 0.9536 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7851, allocations: 0 / 0.9536 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7851, allocations: 5.5 kB / 0.9536 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.7853, allocations: 23.75 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7853, allocations: 1.312 kB / 0.9536 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.7854, allocations: 22.94 kB / 0.9537 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.7855, allocations: 1.594 kB / 0.9537 GB, free: 5.18 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 7.678e-05/0.7855, allocations: 113.9 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.7856, allocations: 6.375 kB / 0.9538 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.786, allocations: 155.5 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.7861, allocations: 1.156 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7861, allocations: 1.188 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7861, allocations: 7.922 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.7863, allocations: 195.3 kB / 0.9541 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7863, allocations: 5.016 kB / 0.9541 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.7864, allocations: 28.06 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7864, allocations: 0 / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7864, allocations: 1.031 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7865, allocations: 1.25 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7865, allocations: 0 / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.7869, allocations: 239.8 kB / 0.9544 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.7869, allocations: 86.52 kB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.7869, allocations: 1.562 kB / 0.9545 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.7871, allocations: 18.5 kB / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.7872, allocations: 18.98 kB / 0.9545 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.7872, allocations: 6.266 kB / 0.9545 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.322e-05/0.7872, allocations: 97.95 kB / 0.9546 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7872, allocations: 0 / 0.9546 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.7875, allocations: 22.94 kB / 0.9546 GB, free: 4.293 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.0006472/0.7881, allocations: 0.7689 MB / 0.9554 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.7886, allocations: 106.6 kB / 0.9555 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7886, allocations: 0 / 0.9555 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.7888, allocations: 63.25 kB / 0.9555 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.7892, allocations: 11.34 kB / 0.9555 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.7912, allocations: 1.551 MB / 0.9571 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.7914, allocations: 0.691 MB / 0.9577 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.7915, allocations: 10.25 kB / 0.9577 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.7915, allocations: 24.86 kB / 0.9578 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7915, allocations: 0 / 0.9578 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.8036, allocations: 2.331 MB / 0.96 GB, free: 196 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.8038, allocations: 207.2 kB / 0.9602 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.606, allocations: 0 / 0.9602 GB, free: 15.93 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