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: 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_9_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_9_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.009563/0.009563, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001255/0.001255, allocations: 192 kB / 16.67 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 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.83 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002248/1.019, allocations: 0.7817 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001183/1.02, allocations: 0.8679 MB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/1.02, allocations: 0.875 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/1.02, allocations: 5.109 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/1.021, allocations: 10.75 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000228/1.021, allocations: 42.48 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/1.021, allocations: 86.86 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/1.021, allocations: 26.83 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/1.021, allocations: 30.97 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/1.021, allocations: 53.67 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/1.022, allocations: 8.438 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/1.022, allocations: 7.844 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/1.022, allocations: 23.67 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/1.022, allocations: 43.19 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/1.022, allocations: 82.05 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.022, allocations: 1.734 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.022, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.022, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 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.000754/1.023, allocations: 391.8 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.023, allocations: 10.55 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/1.023, allocations: 9.344 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/1.023, allocations: 182.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/1.023, allocations: 7.312 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/1.023, allocations: 4.344 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/1.023, allocations: 108.5 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.023, allocations: 0 / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.023, allocations: 4.969 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.023, allocations: 2.453 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/1.024, allocations: 102.2 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005942/1.024, allocations: 348 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/1.025, allocations: 118.5 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.025, allocations: 55.41 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/1.025, allocations: 1.031 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/1.025, allocations: 36.48 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.025, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0008404/1.026, allocations: 186.6 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/1.026, allocations: 52.77 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.026, allocations: 123.7 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/1.027, allocations: 30.52 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/1.027, allocations: 93.61 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/1.027, allocations: 19.55 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/1.027, allocations: 27.12 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/1.027, allocations: 323.7 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/1.027, allocations: 44.09 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/1.027, allocations: 52.91 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/1.027, allocations: 99.97 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.028, allocations: 0 / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004046/1.028, allocations: 130.7 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.028, allocations: 6.828 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.028, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.028, allocations: 0.9062 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/1.028, allocations: 32.64 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/1.028, allocations: 0.5469 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.028, allocations: 16.81 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/1.028, allocations: 6.766 kB / 1.092 GB, free: 2.195 MB / 0.8575 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.109e-05/1.028, allocations: 114 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/1.028, allocations: 7.469 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004844/1.029, allocations: 157.3 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.029, allocations: 1.859 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.029, allocations: 0 / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.029, allocations: 5.953 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/1.029, allocations: 197.7 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.029, allocations: 0 / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.029, allocations: 36.23 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.029, allocations: 1 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/1.029, allocations: 6.875 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.029, allocations: 0 / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.029, allocations: 1.359 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/1.03, allocations: 239.1 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/1.03, allocations: 84.17 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.03, allocations: 0.8438 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.03, allocations: 15.86 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.03, allocations: 25.81 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/1.03, allocations: 2.688 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.604e-05/1.03, allocations: 97.17 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002467/1.031, allocations: 20.98 kB / 1.093 GB, free: 1.41 MB / 0.8575 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.0001473/1.031, allocations: 109.7 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000478/1.031, allocations: 99.2 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.031, allocations: 1.125 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002164/1.031, allocations: 68.62 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.032, allocations: 13.73 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/1.032, allocations: 174.5 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/1.032, allocations: 0.6892 MB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.646e-05/1.032, allocations: 16.81 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/1.032, allocations: 21.23 kB / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.033, allocations: 0 / 1.095 GB, free: 416 kB / 0.8575 GB Notification: Performance of Templates: time 0.005596/1.038, allocations: 1.575 MB / 1.096 GB, free: 300 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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