Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002746/0.002747, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.656/1.656, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 482.3 MB / 0.7543 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 72.55 kB / 0.9233 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3733, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002173/0.3755, allocations: 0.7712 MB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3766, allocations: 0.8351 MB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.3767, allocations: 0 / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.3768, allocations: 0 / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.3768, allocations: 7.938 kB / 1.083 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.377, allocations: 19.98 kB / 1.083 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.3771, allocations: 55.83 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3772, allocations: 11.98 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.664e-05/0.3773, allocations: 15.94 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3774, allocations: 31.84 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.3774, allocations: 7.984 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.3774, allocations: 8 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.3775, allocations: 7.984 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.3775, allocations: 19.88 kB / 1.083 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3776, allocations: 43.84 kB / 1.084 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3776, allocations: 7.938 kB / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3776, allocations: 0 / 1.084 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3776, allocations: 0 / 1.084 GB, free: 11.77 MB / 0.8419 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.0005978/0.3782, allocations: 359.7 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3783, allocations: 8.031 kB / 1.084 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.3783, allocations: 12.84 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3785, allocations: 164.4 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3785, allocations: 8.359 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3786, allocations: 4.375 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3788, allocations: 69.78 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3788, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3788, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.3788, allocations: 0 / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.379, allocations: 55.89 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.3795, allocations: 300.6 kB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3798, allocations: 58.55 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3799, allocations: 36.91 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3799, allocations: 4 kB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.38, allocations: 38.44 kB / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.38, allocations: 0 / 1.085 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004251/0.3804, allocations: 101.6 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3804, allocations: 51.41 kB / 1.085 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3806, allocations: 121.7 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3806, allocations: 25.7 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.3807, allocations: 88.14 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3807, allocations: 7.891 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3807, allocations: 17.72 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3809, allocations: 322.8 kB / 1.085 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.381, allocations: 19.98 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.514e-05/0.3811, allocations: 31.91 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.3813, allocations: 52.81 kB / 1.085 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3813, allocations: 0 / 1.085 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002376/0.3815, allocations: 81.56 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3816, allocations: 5.875 kB / 1.085 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3816, allocations: 4 kB / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3816, allocations: 4 kB / 1.086 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3817, allocations: 15.92 kB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.3817, allocations: 3.984 kB / 1.086 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.168e-05/0.3818, allocations: 4 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3819, allocations: 7.984 kB / 1.086 GB, free: 9.508 MB / 0.8419 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,intLesThr.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.99e-05/0.382, allocations: 117.7 kB / 1.086 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.382, allocations: 4.328 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.382, allocations: 7.906 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.382, allocations: 7.984 kB / 1.086 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.382, allocations: 4 kB / 1.086 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3821, allocations: 0 / 1.086 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.3823, allocations: 181.5 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3823, allocations: 0 / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.3824, allocations: 11.98 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3824, allocations: 0 / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3824, allocations: 0 / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3824, allocations: 3.938 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3824, allocations: 0 / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.3827, allocations: 187.3 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.3828, allocations: 85.11 kB / 1.086 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3828, allocations: 3.938 kB / 1.086 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3829, allocations: 7.984 kB / 1.086 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.383, allocations: 11.98 kB / 1.086 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.383, allocations: 4 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.3831, allocations: 91.27 kB / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3831, allocations: 0 / 1.086 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002186/0.3833, allocations: 8 kB / 1.086 GB, free: 8.688 MB / 0.8419 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 (intLesThr.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.0001458/0.3834, allocations: 99.19 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.3837, allocations: 59.94 kB / 1.086 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3837, allocations: 0 / 1.086 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.3839, allocations: 35.91 kB / 1.086 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3842, allocations: 5.719 kB / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.3846, allocations: 141.5 kB / 1.087 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3849, allocations: 0.6806 MB / 1.087 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.365e-05/0.385, allocations: 8 kB / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.385, allocations: 11.44 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.385, allocations: 0 / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.003622/0.3886, allocations: 0.7995 MB / 1.088 GB, free: 6.801 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches