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.001684/0.001683, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002042/0.002043, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.595/1.595, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.966/2.966, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 72.56 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4708, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002555/0.4734, allocations: 0.8419 MB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.4746, allocations: 0.8701 MB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.4746, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.4747, allocations: 0 / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.74e-05/0.4748, allocations: 15.91 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.475, allocations: 31.97 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.4751, allocations: 87.75 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.4753, allocations: 31.91 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.4754, allocations: 39.78 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.4755, allocations: 51.81 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.4755, allocations: 8 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.4755, allocations: 8 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.4756, allocations: 27.86 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.4757, allocations: 39.78 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.4758, allocations: 79.73 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4758, allocations: 0 / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4758, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4758, allocations: 0 / 1.054 GB, free: 6.516 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.0007391/0.4766, allocations: 387.5 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4766, allocations: 8.031 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.4767, allocations: 12.84 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4769, allocations: 180.2 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4769, allocations: 8.375 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.4769, allocations: 4.375 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.4773, allocations: 113.7 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4773, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4773, allocations: 4 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4773, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.4777, allocations: 99.89 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.4783, allocations: 340.7 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006549/0.479, allocations: 122.5 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4792, allocations: 56.81 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.4792, allocations: 11.95 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4792, allocations: 34.56 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.4792, allocations: 0 / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006594/0.4799, allocations: 181.4 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.48, allocations: 51.41 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4801, allocations: 125.8 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4801, allocations: 33.64 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.4802, allocations: 92.05 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.4802, allocations: 19.73 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.4803, allocations: 25.7 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4804, allocations: 318.8 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4806, allocations: 43.95 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.4808, allocations: 51.95 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.4811, allocations: 92.77 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4811, allocations: 0 / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004075/0.4816, allocations: 141.4 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4816, allocations: 4 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4816, allocations: 3.984 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4816, allocations: 7.938 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4818, allocations: 19.97 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4818, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.4819, allocations: 15.92 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4819, allocations: 4 kB / 1.057 GB, free: 3.73 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.656e-05/0.482, allocations: 119.4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4821, allocations: 11.91 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.4821, allocations: 12.36 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4821, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4821, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4822, allocations: 7.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4824, allocations: 197.5 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4824, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.4826, allocations: 31.91 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4826, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.4826, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4826, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4826, allocations: 4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.483, allocations: 235.3 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.4831, allocations: 89.02 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4831, allocations: 3.938 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.4833, allocations: 19.97 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.4834, allocations: 19.98 kB / 1.058 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4834, allocations: 7.922 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.886e-05/0.4835, allocations: 91.28 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4835, allocations: 0 / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002362/0.4837, allocations: 16 kB / 1.058 GB, free: 2.789 MB / 0.8106 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.0001548/0.4839, allocations: 107.2 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.4844, allocations: 104.5 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4844, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.4846, allocations: 71.88 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.485, allocations: 6.812 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.4855, allocations: 194.7 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4859, allocations: 0.6963 MB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.369e-05/0.486, allocations: 8 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.486, allocations: 19.42 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.4861, allocations: 0 / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of Templates: time 0.004366/0.4904, allocations: 1.415 MB / 1.06 GB, free: 128 kB / 0.8106 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