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.001462/0.001462, allocations: 108 kB / 15.61 MB, free: 152 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.001915/0.001915, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.541/1.541, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.6 MB / 0.7451 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.14 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3928, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002925/0.3958, allocations: 0.7164 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.3974, allocations: 0.8372 MB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.3975, allocations: 0 / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.665e-05/0.3976, allocations: 3.938 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.3977, allocations: 3.938 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.3979, allocations: 19.98 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.398, allocations: 51.83 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.3982, allocations: 16 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.3983, allocations: 19.92 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.3984, allocations: 23.91 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3984, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.3984, allocations: 8 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.3985, allocations: 7.984 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3985, allocations: 23.86 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3987, allocations: 47.84 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.3987, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3987, allocations: 7.938 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3987, allocations: 0 / 1.07 GB, free: 8.695 MB / 0.8262 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.0006045/0.3993, allocations: 355.7 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3994, allocations: 8.031 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3994, allocations: 8.844 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3996, allocations: 164.4 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3996, allocations: 384 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3996, allocations: 4.375 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3998, allocations: 73.77 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3998, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3999, allocations: 4 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3999, allocations: 4 kB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.4001, allocations: 51.88 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4006, allocations: 300.6 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.4008, allocations: 70.55 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.4009, allocations: 28.88 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4009, allocations: 4.062 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.401, allocations: 34.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.401, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004119/0.4014, allocations: 105.6 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.4014, allocations: 51.41 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.4015, allocations: 109.8 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4016, allocations: 33.64 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.4016, allocations: 84.05 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.4016, allocations: 11.91 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.4017, allocations: 21.7 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4018, allocations: 318.8 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4019, allocations: 23.97 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.554e-05/0.402, allocations: 23.97 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.4023, allocations: 52.77 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4023, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002573/0.4025, allocations: 93.55 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4026, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4026, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4026, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4027, allocations: 11.98 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4027, allocations: 0 / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.4028, allocations: 11.98 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4028, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 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 0.0001352/0.403, allocations: 121.7 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.403, allocations: 3.984 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.64e-05/0.4031, allocations: 7.906 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4031, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4031, allocations: 4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.4031, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.4033, allocations: 177.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4033, allocations: 3.938 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.4034, allocations: 15.98 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4034, allocations: 0 / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.4034, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4034, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4034, allocations: 0 / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.4038, allocations: 183.7 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.4038, allocations: 77.16 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.4039, allocations: 7.984 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.404, allocations: 19.92 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.4041, allocations: 7.984 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4041, allocations: 4 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.172e-05/0.4041, allocations: 83.27 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4041, allocations: 4 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002153/0.4044, allocations: 8 kB / 1.073 GB, free: 5.613 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 (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.0001437/0.4045, allocations: 107.7 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4048, allocations: 51.94 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4048, allocations: 0 / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4049, allocations: 39.86 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.4052, allocations: 9.859 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.4056, allocations: 137.4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4059, allocations: 0.6807 MB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.702e-05/0.406, allocations: 7.984 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.406, allocations: 11.44 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4061, allocations: 8 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.003474/0.4095, allocations: 0.8797 MB / 1.074 GB, free: 3.633 MB / 0.8262 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=480 -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