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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001675, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.557/1.557, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 2.875/2.875, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8992, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002472/0.9017, allocations: 0.7748 MB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.9034, allocations: 0.878 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.9034, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.638e-05/0.9035, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.9037, allocations: 11.88 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.9039, allocations: 39.88 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.9041, allocations: 83.83 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.9043, allocations: 35.95 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.9044, allocations: 31.86 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.9046, allocations: 43.83 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.9046, allocations: 11.98 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.9046, allocations: 8 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.9047, allocations: 27.91 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.9047, allocations: 35.8 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.9049, allocations: 83.67 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.9049, allocations: 3.984 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.134e-06/0.905, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.905, allocations: 4 kB / 1.019 GB, free: 436 kB / 0.7637 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.000846/0.9058, allocations: 393.2 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.9059, allocations: 8.031 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.906, allocations: 12.78 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.9062, allocations: 176.2 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.9062, allocations: 8.375 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.9063, allocations: 4.375 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.9066, allocations: 109.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.9067, allocations: 3.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.9067, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.9067, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.9071, allocations: 99.83 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.9078, allocations: 348.6 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000697/0.9085, allocations: 122.5 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.9088, allocations: 52.81 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.9089, allocations: 7.984 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.9089, allocations: 30.56 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9089, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007713/0.9097, allocations: 185.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.9098, allocations: 51.41 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.9099, allocations: 121.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.91, allocations: 29.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.9101, allocations: 96.06 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.9101, allocations: 23.66 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.9102, allocations: 25.7 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.9104, allocations: 322.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.9106, allocations: 43.95 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9108, allocations: 47.94 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.9112, allocations: 105.2 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9112, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004437/0.9117, allocations: 137.4 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.9117, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.9117, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.9117, allocations: 3.984 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.9119, allocations: 31.97 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9119, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.9121, allocations: 11.92 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.9121, allocations: 7.984 kB / 1.022 GB, free: 13.62 MB / 0.7794 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.000119/0.9122, allocations: 113.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.9122, allocations: 7.906 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.9128, allocations: 149.9 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.9128, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.9128, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.9128, allocations: 7.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.9131, allocations: 197.6 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.9131, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.9133, allocations: 27.97 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.9133, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.9133, allocations: 11.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9133, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9133, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.9138, allocations: 239.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.9139, allocations: 85.02 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.9139, allocations: 3.938 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.9141, allocations: 11.98 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.9142, allocations: 23.97 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.9142, allocations: 7.938 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001034/0.9143, allocations: 99.58 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9143, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002424/0.9146, allocations: 19.94 kB / 1.023 GB, free: 12.53 MB / 0.7794 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.0001495/0.9147, allocations: 105.4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005366/0.9153, allocations: 111.8 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9153, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.9155, allocations: 59.95 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.9159, allocations: 13.7 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.9165, allocations: 162.4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.9169, allocations: 0.7001 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.845e-05/0.917, allocations: 15.98 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.9171, allocations: 19.42 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.9171, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Templates: time 0.005468/0.9225, allocations: 1.571 MB / 1.026 GB, free: 9.727 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/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