Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01122/0.01122, allocations: 99.86 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.002448/0.002448, allocations: 185.5 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.028/3.028, allocations: 461.8 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4081, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.003733/0.412, allocations: 0.8674 MB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00215/0.4141, allocations: 0.8817 MB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.4144, allocations: 8 kB / 1.209 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.4147, allocations: 15.8 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.4148, allocations: 15.88 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.4151, allocations: 43.81 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.4154, allocations: 95.77 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.4157, allocations: 51.97 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.4159, allocations: 47.77 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.4161, allocations: 39.84 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.4162, allocations: 8 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.369e-05/0.4162, allocations: 8 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.4162, allocations: 19.92 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.171e-05/0.4163, allocations: 43.73 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.4166, allocations: 99.64 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4166, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.855e-06/0.4166, allocations: 0 / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.4166, allocations: 0 / 1.21 GB, free: 7.336 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001009/0.4177, allocations: 411 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.4177, allocations: 12.62 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.4178, allocations: 16.73 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.4183, allocations: 201.8 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4183, allocations: 4.375 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.4184, allocations: 4.375 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.4188, allocations: 92.2 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4188, allocations: 192 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.4188, allocations: 11.94 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4188, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.4192, allocations: 71.88 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.4201, allocations: 352.4 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.4204, allocations: 70.53 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4206, allocations: 32.92 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.4207, allocations: 0 / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4207, allocations: 34.56 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.4207, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0005688/0.4213, allocations: 125.7 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4214, allocations: 51.41 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.4215, allocations: 143.4 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4216, allocations: 25.7 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.4217, allocations: 104 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.4217, allocations: 19.83 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-05/0.4218, allocations: 25.72 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.422, allocations: 314.8 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.4222, allocations: 31.97 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4224, allocations: 31.97 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.4227, allocations: 60.81 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4227, allocations: 7.875 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003714/0.4231, allocations: 97.48 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4231, allocations: 8 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4232, allocations: 0 / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4232, allocations: 0 / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.4234, allocations: 11.98 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.4234, allocations: 3.938 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.4235, allocations: 15.98 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4235, allocations: 4.188 kB / 1.212 GB, free: 4.766 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001656/0.4237, allocations: 121.8 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.4238, allocations: 7.906 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.587e-05/0.4238, allocations: 8.25 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.4238, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4238, allocations: 3.938 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.4239, allocations: 8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.4242, allocations: 189.6 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4242, allocations: 0 / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.419e-05/0.4243, allocations: 11.98 kB / 1.213 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4243, allocations: 3.938 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4243, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4243, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4243, allocations: 3.938 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.4247, allocations: 191.4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.4248, allocations: 85.02 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.4249, allocations: 0 / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.425, allocations: 11.98 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.4251, allocations: 19.91 kB / 1.213 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4252, allocations: 4 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.778e-05/0.4252, allocations: 104.7 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4253, allocations: 0 / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003477/0.4256, allocations: 19.84 kB / 1.213 GB, free: 3.891 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002344/0.4259, allocations: 99.25 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.4263, allocations: 71.88 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4263, allocations: 0 / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4264, allocations: 35.97 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.4269, allocations: 11.98 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006045/0.4275, allocations: 191 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.4279, allocations: 0.6963 MB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.132e-05/0.428, allocations: 7.984 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.428, allocations: 15.38 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.428, allocations: 0 / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of Templates: time 0.005068/0.4331, allocations: 1.055 MB / 1.215 GB, free: 1.664 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches