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.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.081/3.081, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.55 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3697, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002808/0.3725, allocations: 0.8657 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3738, allocations: 0.8936 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3739, allocations: 0 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.3741, allocations: 19.8 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.3742, allocations: 11.86 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.3744, allocations: 35.89 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.3746, allocations: 99.77 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3748, allocations: 47.95 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3749, allocations: 43.8 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.375, allocations: 43.83 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.375, allocations: 8 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.992e-05/0.3751, allocations: 8 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.3751, allocations: 19.92 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/0.3752, allocations: 47.66 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3753, allocations: 87.72 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3753, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3754, allocations: 3.938 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3754, allocations: 0 / 1.07 GB, free: 8.195 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.000812/0.3762, allocations: 415.4 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3762, allocations: 8.031 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.3763, allocations: 12.84 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3765, allocations: 200 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3765, allocations: 4.375 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3766, allocations: 8.375 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.3768, allocations: 93.83 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3768, allocations: 4.188 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3769, allocations: 3.938 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/0.3769, allocations: 3.984 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.3772, allocations: 71.89 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.3778, allocations: 352.6 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.378, allocations: 66.47 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3781, allocations: 36.92 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3782, allocations: 4 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3782, allocations: 34.56 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3782, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004523/0.3786, allocations: 121.5 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3787, allocations: 51.41 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3788, allocations: 143.4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3789, allocations: 29.7 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.3789, allocations: 104 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.379, allocations: 11.84 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.379, allocations: 17.72 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.3792, allocations: 318.8 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3793, allocations: 31.97 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3795, allocations: 35.97 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3797, allocations: 52.81 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3797, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004213/0.3801, allocations: 105.7 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3801, allocations: 8 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3801, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3802, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3803, allocations: 11.98 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3803, allocations: 7.875 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.3804, allocations: 19.97 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3804, allocations: 4 kB / 1.073 GB, free: 5.629 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 9.057e-05/0.3805, allocations: 122.3 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3806, allocations: 7.906 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.3806, allocations: 8.25 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3806, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3806, allocations: 7.938 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3806, allocations: 0 / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3808, allocations: 189.6 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3808, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.3809, allocations: 11.98 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3809, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3809, allocations: 4 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.381, allocations: 3.984 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.381, allocations: 7.875 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/0.3814, allocations: 183.4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.3814, allocations: 85.02 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.3814, allocations: 0 / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.3816, allocations: 23.97 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3817, allocations: 15.92 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.3817, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.3817, allocations: 100.5 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3817, allocations: 0 / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002383/0.382, allocations: 15.94 kB / 1.073 GB, free: 4.758 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.0001617/0.3822, allocations: 103.5 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.3825, allocations: 72.02 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3825, allocations: 0 / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3826, allocations: 39.95 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.383, allocations: 13.66 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.3835, allocations: 186.9 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.3837, allocations: 0.6963 MB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3838, allocations: 8 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.3838, allocations: 15.44 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.3838, allocations: 0 / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of Templates: time 0.003333/0.3872, allocations: 1.015 MB / 1.075 GB, free: 2.566 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