Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00723/0.00723, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001487/0.001487, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.59/2.59, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.62 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3538, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002119/0.3559, allocations: 0.6973 MB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3571, allocations: 0.8354 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.3572, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/0.3573, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3574, allocations: 11.92 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3576, allocations: 23.98 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3577, allocations: 47.83 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3579, allocations: 12 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.843e-05/0.358, allocations: 23.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.358, allocations: 23.84 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3581, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.3581, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.3581, allocations: 15.98 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.3582, allocations: 19.86 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.3583, allocations: 55.72 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3583, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.564e-06/0.3584, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3584, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006545/0.359, allocations: 357.4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3591, allocations: 8.031 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.3591, allocations: 8.891 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3593, allocations: 172.3 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.3593, allocations: 8.375 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.3594, allocations: 384 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.3596, allocations: 69.59 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3596, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3596, allocations: 4 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.3596, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3599, allocations: 63.81 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.3604, allocations: 284.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3606, allocations: 62.53 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3607, allocations: 36.86 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3607, allocations: 4 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3608, allocations: 34.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3608, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004277/0.3612, allocations: 113.8 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3613, allocations: 55.41 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.3614, allocations: 105.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3614, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.3614, allocations: 88.14 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3615, allocations: 7.906 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3615, allocations: 21.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3616, allocations: 318.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3618, allocations: 31.91 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.3619, allocations: 27.97 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.362, allocations: 48.81 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3621, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002396/0.3623, allocations: 81.64 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3623, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3623, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3624, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3625, allocations: 11.98 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3625, allocations: 3.938 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.3626, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3626, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.038e-05/0.3627, allocations: 117.7 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3627, allocations: 3.953 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.164e-05/0.3628, allocations: 15.91 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3628, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3628, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3628, allocations: 3.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.363, allocations: 173.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.363, allocations: 4 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.3631, allocations: 11.98 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3631, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3631, allocations: 3.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3631, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3631, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3634, allocations: 187.3 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.3635, allocations: 81.11 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.3635, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.3636, allocations: 7.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.3637, allocations: 11.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.3637, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.3638, allocations: 91.58 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 3.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002136/0.364, allocations: 7.938 kB / 1.092 GB, free: 12.63 MB / 0.8575 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 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0002039/0.3642, allocations: 103.2 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3645, allocations: 55.95 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3645, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.3646, allocations: 31.91 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3649, allocations: 9.938 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3653, allocations: 128.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3655, allocations: 0.6807 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.3656, allocations: 8 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.3656, allocations: 11.44 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3656, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of Templates: time 0.003085/0.3687, allocations: 0.8869 MB / 1.094 GB, free: 10.67 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches