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.00116/0.00116, allocations: 98.88 kB / 16.02 MB, free: 76 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.001834/0.001834, allocations: 188.4 kB / 16.93 MB, free: 6.766 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.775/2.775, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 10.72 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3332, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001367/0.3346, allocations: 0.5779 MB / 1.06 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.336, allocations: 0.8858 MB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3361, allocations: 4 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.3363, allocations: 11.88 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.3363, allocations: 3.938 kB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3365, allocations: 31.97 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.3367, allocations: 107.6 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001831/0.3369, allocations: 43.97 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.337, allocations: 35.78 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.3371, allocations: 27.84 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3372, allocations: 4 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.375e-05/0.3372, allocations: 3.938 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.3372, allocations: 11.92 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.545e-05/0.3373, allocations: 65.44 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3374, allocations: 67.83 kB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3374, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3374, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3375, allocations: 0 / 1.061 GB, free: 3.023 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.0007329/0.3382, allocations: 407.5 kB / 1.062 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3383, allocations: 8.031 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.3383, allocations: 12.84 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.3386, allocations: 204 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3386, allocations: 8.375 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.3386, allocations: 4.375 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.339, allocations: 101.6 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.339, allocations: 192 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.339, allocations: 7.938 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3391, allocations: 4 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.3394, allocations: 79.94 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.3402, allocations: 364.5 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.3405, allocations: 74.55 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.3407, allocations: 44.86 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3407, allocations: 0 / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3408, allocations: 34.56 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 3.176e-06/0.3408, allocations: 3.984 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0006684/0.3414, allocations: 145.5 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3415, allocations: 55.41 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3417, allocations: 139.4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.3417, allocations: 25.7 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.3418, allocations: 100 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3418, allocations: 15.84 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.3419, allocations: 13.7 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.342, allocations: 322.8 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.3422, allocations: 43.91 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.3424, allocations: 39.97 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.3428, allocations: 72.94 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3428, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004388/0.3433, allocations: 113.5 kB / 1.064 GB, free: 416 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3433, allocations: 8 kB / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3433, allocations: 0 / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3434, allocations: 0 / 1.064 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3435, allocations: 15.98 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3435, allocations: 7.875 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.3436, allocations: 35.91 kB / 1.064 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3437, allocations: 0 / 1.064 GB, free: 348 kB / 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.77e-05/0.3437, allocations: 113.8 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.3438, allocations: 7.906 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.3438, allocations: 8.25 kB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3438, allocations: 4 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3438, allocations: 7.938 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3439, allocations: 3.984 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.3441, allocations: 181.6 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3441, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.3442, allocations: 15.98 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3442, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3442, allocations: 7.984 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3442, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3442, allocations: 3.938 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3445, allocations: 203.3 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3446, allocations: 85.02 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3446, allocations: 8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3448, allocations: 19.97 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.3448, allocations: 15.92 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3448, allocations: 64 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.056e-05/0.3449, allocations: 104.7 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3449, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.3452, allocations: 19.94 kB / 1.064 GB, free: 15.45 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.0001408/0.3453, allocations: 99.25 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.3456, allocations: 91.88 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3457, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3458, allocations: 43.91 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3461, allocations: 10.53 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.3465, allocations: 250.7 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3468, allocations: 0.6965 MB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.3468, allocations: 11.44 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3468, allocations: 0 / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.002505/0.3493, allocations: 1.093 MB / 1.067 GB, free: 13.1 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/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