Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009608/0.009608, allocations: 99.53 kB / 15.73 MB, free: 5.996 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.002198/0.002198, allocations: 195.2 kB / 16.68 MB, free: 5.918 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249/1.251, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002029/1.253, allocations: 0.7767 MB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001044/1.254, allocations: 0.8624 MB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/1.254, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/1.254, allocations: 15.86 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/1.254, allocations: 15.86 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/1.254, allocations: 39.89 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/1.254, allocations: 79.88 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/1.254, allocations: 27.98 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.254e-05/1.255, allocations: 43.78 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/1.255, allocations: 51.81 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/1.255, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/1.255, allocations: 8 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/1.255, allocations: 15.92 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/1.255, allocations: 39.78 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/1.255, allocations: 87.72 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/1.255, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/1.255, allocations: 4 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.255, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 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.0006174/1.256, allocations: 389 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.256, allocations: 12.03 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/1.256, allocations: 4.844 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.256, allocations: 180.2 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/1.256, allocations: 384 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/1.256, allocations: 8.375 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.256, allocations: 113.5 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/1.256, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/1.256, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.256, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/1.257, allocations: 95.91 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/1.257, allocations: 348.5 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/1.258, allocations: 122.5 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/1.258, allocations: 60.81 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/1.258, allocations: 3.938 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.258, allocations: 30.56 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.607e-06/1.258, allocations: 3.984 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006846/1.259, allocations: 185.5 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.259, allocations: 55.34 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.259, allocations: 121.8 kB / 1.211 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/1.259, allocations: 25.7 kB / 1.211 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/1.259, allocations: 104 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/1.259, allocations: 19.73 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/1.259, allocations: 21.7 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.259, allocations: 322.8 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/1.259, allocations: 47.95 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/1.259, allocations: 47.89 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/1.26, allocations: 92.78 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.26, allocations: 4 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003988/1.26, allocations: 137.5 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.26, allocations: 4 kB / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.26, allocations: 0 / 1.212 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.26, allocations: 4 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/1.26, allocations: 23.97 kB / 1.212 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.26, allocations: 7.938 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.261, allocations: 15.92 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/1.261, allocations: 7.984 kB / 1.212 GB, free: 8.77 MB / 0.9356 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.756e-05/1.261, allocations: 113.8 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/1.261, allocations: 7.906 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/1.261, allocations: 150.5 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.261, allocations: 4 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.261, allocations: 7.922 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.261, allocations: 3.938 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/1.261, allocations: 193.5 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.261, allocations: 0 / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/1.262, allocations: 31.91 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/1.262, allocations: 4 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/1.262, allocations: 7.984 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.262, allocations: 0 / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.262, allocations: 80 / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/1.262, allocations: 235.4 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/1.262, allocations: 85.02 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/1.262, allocations: 4 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.262, allocations: 11.98 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/1.262, allocations: 27.89 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/1.262, allocations: 4 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.322e-05/1.262, allocations: 95.27 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.262, allocations: 0 / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002176/1.263, allocations: 15.94 kB / 1.213 GB, free: 7.684 MB / 0.9356 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.0001644/1.263, allocations: 111.2 kB / 1.213 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004121/1.263, allocations: 104 kB / 1.213 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.263, allocations: 0 / 1.213 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/1.264, allocations: 67.88 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/1.264, allocations: 16 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/1.264, allocations: 178 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/1.265, allocations: 0.6924 MB / 1.214 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.992e-05/1.265, allocations: 8 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/1.265, allocations: 19.42 kB / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.265, allocations: 0 / 1.214 GB, free: 6.434 MB / 0.9356 GB Notification: Performance of Templates: time 0.004041/1.269, allocations: 1.64 MB / 1.216 GB, free: 4.805 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches