Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.001661, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001606/0.001606, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.439/1.439, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.63/2.63, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 72.73 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3367, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004176/0.3409, allocations: 2.013 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.3433, allocations: 1.201 MB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.3436, allocations: 3.938 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.3441, allocations: 163.4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.3446, allocations: 147.4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.3453, allocations: 222.6 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.3457, allocations: 319.2 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.3459, allocations: 44.38 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.3461, allocations: 139.4 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.3464, allocations: 151.4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.3464, allocations: 16 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.3466, allocations: 63.95 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3467, allocations: 83.69 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3469, allocations: 127.1 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.3474, allocations: 362.7 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3474, allocations: 0 / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3474, allocations: 4 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.3474, allocations: 0 / 1.032 GB, free: 12.97 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001115/0.3485, allocations: 0.6263 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3486, allocations: 12.02 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.3487, allocations: 32.56 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.3493, allocations: 386.1 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3493, allocations: 8 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3493, allocations: 4 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.3496, allocations: 105.6 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3496, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3497, allocations: 3.984 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3497, allocations: 4 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.3498, allocations: 59.97 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.3507, allocations: 0.4924 MB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.351, allocations: 142.6 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3512, allocations: 56.77 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.3512, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.3514, allocations: 107.3 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3514, allocations: 0 / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005192/0.352, allocations: 229.3 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.352, allocations: 55.41 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3526, allocations: 0.5015 MB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3526, allocations: 33.7 kB / 1.034 GB, free: 9.934 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.3527, allocations: 168.4 kB / 1.035 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3528, allocations: 35.55 kB / 1.035 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3529, allocations: 69.88 kB / 1.035 GB, free: 9.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.353, allocations: 346.8 kB / 1.035 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.3532, allocations: 104.5 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.3534, allocations: 132.1 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.3537, allocations: 183.5 kB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3537, allocations: 0 / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005198/0.3543, allocations: 321.2 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3543, allocations: 4 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3543, allocations: 3.938 kB / 1.036 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3543, allocations: 4 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.3546, allocations: 51.91 kB / 1.036 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3546, allocations: 4 kB / 1.036 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.3547, allocations: 23.83 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3548, allocations: 8 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001715/0.3549, allocations: 193.7 kB / 1.036 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.355, allocations: 35.61 kB / 1.036 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.3551, allocations: 39.06 kB / 1.036 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3551, allocations: 4 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3551, allocations: 0 / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3551, allocations: 0 / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.3554, allocations: 305.3 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3554, allocations: 0 / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.3555, allocations: 12 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3555, allocations: 4 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3555, allocations: 11.92 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3555, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3555, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.3559, allocations: 204.3 kB / 1.037 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.356, allocations: 112.7 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.356, allocations: 11.94 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3561, allocations: 7.984 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.3562, allocations: 27.92 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3562, allocations: 7.984 kB / 1.037 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003165/0.3565, allocations: 315.1 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3565, allocations: 0 / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002947/0.3568, allocations: 55.89 kB / 1.037 GB, free: 7.051 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009637/0.3578, allocations: 413.5 kB / 1.037 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.3582, allocations: 203.4 kB / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.3582, allocations: 0 / 1.038 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3584, allocations: 63.91 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3588, allocations: 97.34 kB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.3596, allocations: 0.5163 MB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.3599, allocations: 0.7871 MB / 1.039 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.36, allocations: 58.92 kB / 1.039 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3601, allocations: 35.42 kB / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3601, allocations: 0 / 1.039 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of Templates: time 0.007746/0.3679, allocations: 4.058 MB / 1.043 GB, free: 0.9844 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches