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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001635/0.001641, allocations: 100.1 kB / 15.88 MB, free: 8 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.002198/0.002198, allocations: 199.7 kB / 16.79 MB, free: 6.828 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.485/1.485, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.67 kB / 0.8991 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3248, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002435/0.3273, allocations: 0.9263 MB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3284, allocations: 0.8857 MB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3286, allocations: 4 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3287, allocations: 11.86 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.3288, allocations: 11.94 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.329, allocations: 35.91 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3291, allocations: 95.66 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3293, allocations: 47.97 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.3294, allocations: 39.8 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.462e-05/0.3295, allocations: 35.83 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3295, allocations: 4 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.3295, allocations: 4 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.3296, allocations: 19.92 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.3296, allocations: 35.73 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3297, allocations: 75.83 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3297, allocations: 4 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3297, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3297, allocations: 0 / 1.055 GB, free: 6.09 MB / 0.8106 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.0006699/0.3304, allocations: 411.4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3305, allocations: 8.031 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3305, allocations: 8.844 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3308, allocations: 200 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3308, allocations: 8.375 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3308, allocations: 8.359 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.3311, allocations: 94.19 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3311, allocations: 192 / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.3311, allocations: 7.938 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3311, allocations: 4 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.3314, allocations: 59.95 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.3319, allocations: 356.5 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.3322, allocations: 70.47 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3323, allocations: 40.92 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3324, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.3324, allocations: 34.56 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3324, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004391/0.3328, allocations: 117.5 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3329, allocations: 59.34 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.333, allocations: 136.6 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.333, allocations: 25.7 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.3331, allocations: 104 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.3331, allocations: 15.75 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3332, allocations: 25.64 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3333, allocations: 318.8 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3334, allocations: 35.97 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3335, allocations: 31.97 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3337, allocations: 52.94 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3337, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002827/0.334, allocations: 101.5 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.334, allocations: 7.938 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3341, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3341, allocations: 4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3342, allocations: 7.984 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3342, allocations: 7.938 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3343, allocations: 15.97 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3343, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 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.591e-05/0.3344, allocations: 119.8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3345, allocations: 7.906 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3345, allocations: 12.25 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3345, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3345, allocations: 3.938 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3345, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3347, allocations: 189.6 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3347, allocations: 0 / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.3348, allocations: 11.98 kB / 1.058 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3348, allocations: 4 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3348, allocations: 3.984 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3349, allocations: 4 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3349, allocations: 3.938 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.3352, allocations: 187.3 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.3352, allocations: 81.25 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3353, allocations: 8 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3354, allocations: 15.97 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.3355, allocations: 19.91 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.3355, allocations: 0 / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.3355, allocations: 108.7 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3356, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002255/0.3358, allocations: 11.94 kB / 1.058 GB, free: 2.66 MB / 0.8106 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.0001409/0.3359, allocations: 107.2 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.3362, allocations: 67.94 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3362, allocations: 4 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3364, allocations: 31.97 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3367, allocations: 19.94 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.3372, allocations: 226.5 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3375, allocations: 0.6965 MB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.3375, allocations: 7.438 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3375, allocations: 0 / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of Templates: time 0.002698/0.3402, allocations: 1.112 MB / 1.06 GB, free: 340 kB / 0.8106 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/jenkins1/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