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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00151/0.00151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002476/0.002475, allocations: 190.6 kB / 16.25 MB, free: 6.645 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.581/1.581, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 71.47 kB / 0.9116 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002198/0.3705, allocations: 0.9228 MB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3716, allocations: 0.8896 MB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.3717, allocations: 11.94 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3718, allocations: 3.938 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.3718, allocations: 7.875 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.372, allocations: 35.97 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3721, allocations: 103.7 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3723, allocations: 47.97 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3724, allocations: 39.84 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.3725, allocations: 43.83 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3725, allocations: 11.94 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.499e-05/0.3725, allocations: 8 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.3726, allocations: 19.92 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.3726, allocations: 39.73 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.3727, allocations: 91.7 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3728, allocations: 4 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.486e-06/0.3728, allocations: 3.938 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.3728, allocations: 3.938 kB / 1.07 GB, free: 8.43 MB / 0.8262 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.0006014/0.3734, allocations: 407.4 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3734, allocations: 12.03 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3735, allocations: 8.844 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.3737, allocations: 204.1 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3737, allocations: 8.375 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3737, allocations: 4.375 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.374, allocations: 86.2 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.374, allocations: 192 / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.374, allocations: 3.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.374, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.3743, allocations: 75.88 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.3748, allocations: 352.5 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.375, allocations: 74.53 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.3752, allocations: 32.92 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3752, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.3752, allocations: 34.56 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3752, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000449/0.3757, allocations: 125.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3757, allocations: 51.41 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3758, allocations: 138.8 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3759, allocations: 29.7 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3759, allocations: 104 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.376, allocations: 7.844 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.376, allocations: 21.7 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3761, allocations: 318.8 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3763, allocations: 31.97 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3764, allocations: 27.97 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3766, allocations: 56.81 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3766, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002614/0.3769, allocations: 101.5 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3769, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.3769, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3769, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.377, allocations: 20.17 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.377, allocations: 7.875 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3772, allocations: 19.91 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3772, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 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 8.709e-05/0.3773, allocations: 119.6 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3773, allocations: 11.89 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.3773, allocations: 12.25 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3773, allocations: 4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3773, allocations: 3.938 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3774, allocations: 3.984 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3775, allocations: 185.6 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3776, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.3776, allocations: 15.92 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3777, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3777, allocations: 3.984 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3777, allocations: 4 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3777, allocations: 3.938 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.378, allocations: 187.4 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.378, allocations: 85.02 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3781, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3782, allocations: 15.97 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.3783, allocations: 19.92 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.3783, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.3783, allocations: 105 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3784, allocations: 0 / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002439/0.3786, allocations: 11.94 kB / 1.073 GB, free: 5 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: 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.0001572/0.3788, allocations: 107.2 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.3791, allocations: 71.94 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3791, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3792, allocations: 35.97 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3795, allocations: 8 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3799, allocations: 215 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.3802, allocations: 0.6963 MB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.483e-05/0.3802, allocations: 4 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.3803, allocations: 11.44 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3803, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.002999/0.3833, allocations: 0.9097 MB / 1.075 GB, free: 2.902 MB / 0.8262 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