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.001605/0.001605, allocations: 108 kB / 15.6 MB, free: 132 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.00143/0.00143, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 472.7 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 72.05 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4037, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002268/0.406, allocations: 0.8657 MB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.4073, allocations: 0.8897 MB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4074, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.4076, allocations: 15.81 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.4077, allocations: 15.86 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.4079, allocations: 35.89 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.4081, allocations: 103.7 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.4083, allocations: 55.89 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.4085, allocations: 35.86 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.527e-05/0.4086, allocations: 39.83 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.4086, allocations: 8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.4087, allocations: 8 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.4087, allocations: 19.92 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.4088, allocations: 39.73 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.4089, allocations: 91.7 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.409, allocations: 4 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.409, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.409, allocations: 0 / 1.07 GB, free: 8.133 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.0007547/0.4097, allocations: 411.3 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4098, allocations: 15.97 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.4098, allocations: 12.83 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.4101, allocations: 205.7 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4101, allocations: 12.38 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.4102, allocations: 4.375 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.4104, allocations: 93.7 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4105, allocations: 192 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.4105, allocations: 3.938 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.4105, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.4108, allocations: 75.88 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.4114, allocations: 352.5 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4116, allocations: 66.55 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4117, allocations: 32.92 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.4118, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/0.4118, allocations: 34.56 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.4118, allocations: 0 / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000457/0.4123, allocations: 125.5 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4123, allocations: 55.41 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4125, allocations: 139.2 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4125, allocations: 25.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.4126, allocations: 100 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.4126, allocations: 15.83 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.4127, allocations: 17.72 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4128, allocations: 322.8 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.4129, allocations: 27.98 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.413, allocations: 31.97 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.4132, allocations: 52.81 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4132, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000257/0.4135, allocations: 105.7 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4135, allocations: 7.938 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4135, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4135, allocations: 3.984 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4137, allocations: 15.98 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4137, allocations: 7.922 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.4138, allocations: 19.98 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.4138, allocations: 3.938 kB / 1.073 GB, free: 5.562 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.785e-05/0.4139, allocations: 116.1 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.4139, allocations: 7.906 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.414, allocations: 12.23 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.414, allocations: 4.188 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.414, allocations: 7.938 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.414, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4142, allocations: 189.6 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4142, allocations: 4 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.4143, allocations: 11.98 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4143, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4143, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4143, allocations: 3.938 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4143, allocations: 3.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.4146, allocations: 191.4 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.4147, allocations: 85 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.4147, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4149, allocations: 15.98 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.4149, allocations: 15.92 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4149, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.501e-05/0.415, allocations: 104.5 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.415, allocations: 0 / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002326/0.4153, allocations: 19.94 kB / 1.073 GB, free: 4.688 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.0001891/0.4155, allocations: 100.1 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.4158, allocations: 72 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4158, allocations: 0 / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.4159, allocations: 35.97 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4162, allocations: 16 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.4167, allocations: 190.8 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.417, allocations: 0.6924 MB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.337e-05/0.417, allocations: 4 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.4171, allocations: 15.42 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4171, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of Templates: time 0.003367/0.4205, allocations: 1.019 MB / 1.076 GB, free: 2.5 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