Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_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_9_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.001218/0.001218, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.001206/0.001206, allocations: 194.8 kB / 17.3 MB, free: 5.613 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.77 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3041, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002116/0.3063, allocations: 0.7129 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.3073, allocations: 0.845 MB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.3073, allocations: 0 / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.3074, allocations: 3.938 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.783e-05/0.3075, allocations: 3.938 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3076, allocations: 19.98 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.3077, allocations: 47.84 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3079, allocations: 19.97 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.3079, allocations: 19.92 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.308, allocations: 23.92 kB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.3081, allocations: 4 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.55e-05/0.3081, allocations: 4 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3081, allocations: 15.97 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.3081, allocations: 15.88 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.3083, allocations: 47.86 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3083, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.997e-06/0.3083, allocations: 0 / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3083, allocations: 3.938 kB / 0.9529 GB, free: 6.258 MB / 0.7325 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.0005861/0.3089, allocations: 363.3 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3089, allocations: 8.031 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.309, allocations: 4.938 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.3092, allocations: 176.3 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3092, allocations: 384 / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.3092, allocations: 4.375 kB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3094, allocations: 69.72 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3094, allocations: 0 / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3094, allocations: 4 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3095, allocations: 8 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.3097, allocations: 47.89 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.3101, allocations: 296.7 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3104, allocations: 62.53 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3105, allocations: 36.91 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.3105, allocations: 0 / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.3105, allocations: 34.5 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3105, allocations: 0 / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003998/0.3109, allocations: 109.5 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.311, allocations: 55.41 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.3111, allocations: 109.8 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3111, allocations: 25.7 kB / 0.9542 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.3112, allocations: 88.12 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3112, allocations: 19.88 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.3113, allocations: 13.72 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3114, allocations: 322.8 kB / 0.9547 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.657e-05/0.3115, allocations: 23.98 kB / 0.9547 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.3116, allocations: 23.97 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.3118, allocations: 56.75 kB / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3118, allocations: 0 / 0.9548 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.312, allocations: 81.64 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.312, allocations: 8 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.312, allocations: 4 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.312, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3122, allocations: 11.98 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3122, allocations: 0 / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.3123, allocations: 7.984 kB / 0.9549 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.3123, allocations: 4 kB / 0.9549 GB, free: 3.996 MB / 0.7325 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.153e-05/0.3124, allocations: 119.7 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3124, allocations: 7.906 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.3125, allocations: 11.84 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3125, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3125, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3125, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.3127, allocations: 181.5 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3127, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.3128, allocations: 11.98 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3128, allocations: 0 / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3128, allocations: 4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3128, allocations: 4 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3128, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3131, allocations: 183.8 kB / 0.9554 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3131, allocations: 85.05 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.3131, allocations: 3.984 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3132, allocations: 15.92 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.3133, allocations: 7.938 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.3133, allocations: 11.98 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.3134, allocations: 83.28 kB / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3134, allocations: 0 / 0.9556 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002174/0.3136, allocations: 8 kB / 0.9556 GB, free: 3.172 MB / 0.7325 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.0001215/0.3137, allocations: 103.2 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.314, allocations: 55.94 kB / 0.9557 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.314, allocations: 4 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3141, allocations: 35.91 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.3144, allocations: 10.03 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.3147, allocations: 125.6 kB / 0.9559 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.315, allocations: 0.6844 MB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.3151, allocations: 4 kB / 0.9566 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.3151, allocations: 15.44 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3151, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of Templates: time 0.003049/0.3182, allocations: 0.8762 MB / 0.9574 GB, free: 1.207 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches