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.01196/0.01196, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.00253/0.00253, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.075/3.075, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.91 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.423, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002833/0.4259, allocations: 0.7715 MB / 1.208 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.4274, allocations: 0.8507 MB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.4275, allocations: 3.938 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.796e-05/0.4276, allocations: 7.922 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.4277, allocations: 11.86 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.428, allocations: 43.89 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.4281, allocations: 87.81 kB / 1.209 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.4283, allocations: 27.97 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.4284, allocations: 39.84 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.4285, allocations: 51.81 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.4286, allocations: 8 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.4286, allocations: 8 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.4286, allocations: 19.92 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.4287, allocations: 31.86 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.4289, allocations: 99.58 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4289, allocations: 0 / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4289, allocations: 0 / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.4289, allocations: 0 / 1.21 GB, free: 7.516 MB / 0.9669 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.0007467/0.4297, allocations: 391.2 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4298, allocations: 12.03 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.4298, allocations: 12.84 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.43, allocations: 172.2 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.43, allocations: 8.359 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.43, allocations: 12.38 kB / 1.21 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.4304, allocations: 111.7 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4304, allocations: 0 / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.4304, allocations: 4 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4304, allocations: 0 / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.4308, allocations: 103.9 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.4314, allocations: 340.6 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.4321, allocations: 122.5 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.4323, allocations: 52.88 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.4323, allocations: 11.92 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.4323, allocations: 34.56 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.4323, allocations: 0 / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006452/0.433, allocations: 185.4 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.433, allocations: 51.41 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4332, allocations: 121.8 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4332, allocations: 25.7 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.4333, allocations: 99.98 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.4333, allocations: 27.66 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.4334, allocations: 25.7 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4335, allocations: 322.8 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.4337, allocations: 43.95 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.4339, allocations: 43.95 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.4342, allocations: 100.8 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4342, allocations: 0 / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003874/0.4346, allocations: 129.5 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4346, allocations: 8 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4346, allocations: 4 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.4347, allocations: 0 / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4348, allocations: 23.97 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.4348, allocations: 0 / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.435, allocations: 23.83 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.435, allocations: 3.984 kB / 1.212 GB, free: 4.719 MB / 0.9669 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 0.0001174/0.4351, allocations: 113.8 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.4351, allocations: 8 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.4352, allocations: 8.375 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4352, allocations: 4 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4352, allocations: 0 / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.4352, allocations: 3.938 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.4354, allocations: 213.3 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4354, allocations: 4 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.4356, allocations: 19.97 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4356, allocations: 0 / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.4356, allocations: 8 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4357, allocations: 11.92 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4357, allocations: 4 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.4361, allocations: 227.9 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.4362, allocations: 85 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.4362, allocations: 4 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4363, allocations: 11.98 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-05/0.4364, allocations: 27.91 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.4364, allocations: 8 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.288e-05/0.4365, allocations: 99.58 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4365, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002402/0.4368, allocations: 12 kB / 1.213 GB, free: 3.766 MB / 0.9669 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.0001607/0.4369, allocations: 105.1 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.4374, allocations: 103.9 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4374, allocations: 0 / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.4376, allocations: 63.89 kB / 1.213 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.438, allocations: 13.55 kB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.4385, allocations: 170 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4388, allocations: 0.6939 MB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.377e-05/0.4389, allocations: 15.98 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.349e-05/0.439, allocations: 11.44 kB / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of SimCode: time 1.453e-06/0.439, allocations: 0 / 1.214 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of Templates: time 0.004582/0.4436, allocations: 1.598 MB / 1.216 GB, free: 0.9492 MB / 0.9669 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