Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01484/0.01484, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.521/1.521, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.034/3.034, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 15.72 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4187, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001309/0.4201, allocations: 0.4953 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.4213, allocations: 0.8663 MB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.4214, allocations: 7.938 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.4214, allocations: 3.938 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4216, allocations: 3.938 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.4217, allocations: 35.97 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4219, allocations: 83.72 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.422, allocations: 31.92 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.015e-05/0.4221, allocations: 27.86 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4222, allocations: 43.81 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4223, allocations: 4 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.715e-05/0.4223, allocations: 4 kB / 1.06 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.4223, allocations: 11.92 kB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.4224, allocations: 61.48 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.4225, allocations: 79.7 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4226, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4226, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.4226, allocations: 0 / 1.06 GB, free: 3.738 MB / 0.8106 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.0007019/0.4233, allocations: 391.5 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4233, allocations: 8.031 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.4234, allocations: 8.844 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.4236, allocations: 180.2 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4236, allocations: 4.375 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.4236, allocations: 8.375 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.424, allocations: 117.7 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.424, allocations: 0 / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.424, allocations: 4 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.424, allocations: 4 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.4244, allocations: 123.9 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.4251, allocations: 340.6 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006599/0.4257, allocations: 130.6 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.426, allocations: 72.75 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.426, allocations: 3.984 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.426, allocations: 34.56 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.426, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0007511/0.4268, allocations: 209.5 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.4268, allocations: 55.41 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.427, allocations: 121.8 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.427, allocations: 25.7 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.4271, allocations: 99.92 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.4271, allocations: 27.62 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4272, allocations: 17.72 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4273, allocations: 322.8 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4275, allocations: 63.89 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.4277, allocations: 55.95 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.4281, allocations: 112.8 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4281, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000446/0.4286, allocations: 157.6 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4286, allocations: 4 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4286, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.4286, allocations: 0 / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4288, allocations: 31.91 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4288, allocations: 0 / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.429, allocations: 27.83 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.429, allocations: 11.98 kB / 1.063 GB, free: 0.7969 MB / 0.8106 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,intLesEqu.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 9.746e-05/0.4291, allocations: 115.4 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.4291, allocations: 4 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.4292, allocations: 12.38 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.4292, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4292, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.4292, allocations: 11.94 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.4295, allocations: 205.4 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4295, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4296, allocations: 27.97 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4296, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4297, allocations: 0 / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4297, allocations: 8.531 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4297, allocations: 0 / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.4302, allocations: 255.3 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.4303, allocations: 89 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.4303, allocations: 4 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.4305, allocations: 19.92 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.4306, allocations: 23.97 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4306, allocations: 7.938 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.4306, allocations: 95.27 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4306, allocations: 0 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002313/0.4309, allocations: 12 kB / 1.064 GB, free: 15.83 MB / 0.8262 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 (intLesEqu.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.0001679/0.4311, allocations: 107.2 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.4315, allocations: 123.8 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4315, allocations: 0 / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.4318, allocations: 75.94 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.4321, allocations: 13.14 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.4326, allocations: 197.2 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.4329, allocations: 0.7004 MB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.806e-05/0.433, allocations: 11.98 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.4331, allocations: 19.42 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4331, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.004201/0.4373, allocations: 1.333 MB / 1.066 GB, free: 13.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches