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.006735/0.006735, allocations: 103.9 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.001354/0.001354, allocations: 194 kB / 16.67 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.2 kB / 0.9509 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3653, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002424/0.3678, allocations: 0.6955 MB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.3689, allocations: 0.8355 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.369, allocations: 0 / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.369, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.3691, allocations: 7.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.3693, allocations: 23.91 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.3694, allocations: 51.72 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3695, allocations: 15.98 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.391e-05/0.3696, allocations: 19.92 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.3697, allocations: 27.91 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3697, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.3697, allocations: 11.94 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.3698, allocations: 7.984 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.3698, allocations: 27.86 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3699, allocations: 35.88 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3699, allocations: 3.984 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/0.37, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.37, allocations: 0 / 1.09 GB, free: 15.75 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.0006595/0.3706, allocations: 355.4 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3707, allocations: 8.031 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3707, allocations: 20.77 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3709, allocations: 168.3 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.3709, allocations: 4.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.371, allocations: 8.375 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3712, allocations: 65.59 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3712, allocations: 3.938 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3712, allocations: 0 / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3712, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.3714, allocations: 51.94 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.372, allocations: 292.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3722, allocations: 58.55 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.3724, allocations: 32.91 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3724, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3724, allocations: 34.56 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3724, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000438/0.3729, allocations: 105.6 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3729, allocations: 51.41 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.373, allocations: 117.9 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3731, allocations: 29.7 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.3731, allocations: 88.03 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.3731, allocations: 7.906 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3732, allocations: 17.72 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3734, allocations: 322.8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3735, allocations: 19.98 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.3736, allocations: 27.97 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3738, allocations: 56.75 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3738, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002492/0.3741, allocations: 81.64 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3741, allocations: 8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3741, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3741, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.3742, allocations: 15.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3743, allocations: 3.938 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.3743, allocations: 15.83 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3744, allocations: 0 / 1.092 GB, free: 13.49 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.431e-05/0.3745, allocations: 118.1 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3745, allocations: 4 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.3745, allocations: 11.89 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3745, allocations: 7.875 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3745, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3745, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.3748, allocations: 177.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3748, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.3749, allocations: 11.98 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3749, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3749, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3749, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3749, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.3752, allocations: 187.3 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3753, allocations: 85.09 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3753, allocations: 8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.3754, allocations: 4 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.3755, allocations: 11.98 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.3755, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.3756, allocations: 91.2 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3756, allocations: 4 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002221/0.3758, allocations: 15.94 kB / 1.092 GB, free: 12.67 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.0001396/0.376, allocations: 95.25 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002709/0.3762, allocations: 55.94 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3762, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3764, allocations: 31.97 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.3767, allocations: 15.23 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.3771, allocations: 137.5 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/0.3776, allocations: 0.6846 MB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.3776, allocations: 4 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.3777, allocations: 15.44 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.3777, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of Templates: time 0.003203/0.3809, allocations: 0.8849 MB / 1.094 GB, free: 10.7 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