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.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.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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.591/1.591, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.569/2.569, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7824, allocations: 140.4 MB / 0.9489 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.003748/0.7862, allocations: 0.7569 MB / 0.9497 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001648/0.7879, allocations: 0.8416 MB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.788, allocations: 1.406 kB / 0.9505 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.592e-05/0.7881, allocations: 3.984 kB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.7882, allocations: 3.938 kB / 0.9505 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.7884, allocations: 17.67 kB / 0.9505 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.7886, allocations: 37.33 kB / 0.9506 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.7887, allocations: 17.67 kB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.7889, allocations: 22.75 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.789, allocations: 19.42 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.789, allocations: 2.156 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.789, allocations: 3.375 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.7891, allocations: 12.98 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.7892, allocations: 11.25 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.7893, allocations: 55.62 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7893, allocations: 1.125 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7893, allocations: 4 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7893, allocations: 0 / 0.9507 GB, free: 7.898 MB / 0.7169 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.0005885/0.7899, allocations: 354.9 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.79, allocations: 9.25 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.79, allocations: 3.281 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7902, allocations: 182.7 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.7902, allocations: 10.91 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.7902, allocations: 1.656 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.7905, allocations: 72.72 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.7905, allocations: 0 / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7906, allocations: 0 / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.7906, allocations: 1.281 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.7909, allocations: 55.41 kB / 0.9514 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.7914, allocations: 291.5 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.7916, allocations: 60.23 kB / 0.9517 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.7918, allocations: 34.41 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.7918, allocations: 0 / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.7919, allocations: 37.19 kB / 0.9518 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.7919, allocations: 4 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005478/0.7924, allocations: 112.4 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.7925, allocations: 51.41 kB / 0.9519 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.7926, allocations: 108 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.7926, allocations: 25.7 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.7926, allocations: 89.56 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.7927, allocations: 13.09 kB / 0.9521 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.7927, allocations: 22.81 kB / 0.9522 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.7928, allocations: 320 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.7929, allocations: 19.58 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.7931, allocations: 29.97 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.7933, allocations: 57.89 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7933, allocations: 7.938 kB / 0.9526 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003065/0.7937, allocations: 81.11 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.7937, allocations: 5.562 kB / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7937, allocations: 0 / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.7937, allocations: 0 / 0.9527 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.7939, allocations: 12.27 kB / 0.9527 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.7939, allocations: 0 / 0.9527 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.794, allocations: 12.89 kB / 0.9527 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7941, allocations: 6.531 kB / 0.9527 GB, free: 5.938 MB / 0.7169 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.435e-05/0.7942, allocations: 112.6 kB / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.7942, allocations: 4.938 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.7942, allocations: 9.062 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.7943, allocations: 0 / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7943, allocations: 0.8438 kB / 0.9528 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7943, allocations: 3.938 kB / 0.9528 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.7945, allocations: 180.3 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7945, allocations: 0 / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.7946, allocations: 20.67 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.7946, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.7946, allocations: 1.188 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7947, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7947, allocations: 0 / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/0.795, allocations: 180.3 kB / 0.9532 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.7951, allocations: 86.59 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.7951, allocations: 9.281 kB / 0.9533 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.7953, allocations: 8.766 kB / 0.9533 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.7953, allocations: 10.83 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7954, allocations: 2.5 kB / 0.9533 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.7954, allocations: 84.69 kB / 0.9534 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7954, allocations: 7.875 kB / 0.9534 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003688/0.7958, allocations: 7.062 kB / 0.9534 GB, free: 5.207 MB / 0.7169 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.0001149/0.7959, allocations: 109 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.7963, allocations: 49.8 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7963, allocations: 1.188 kB / 0.9535 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.7964, allocations: 33.5 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.7969, allocations: 3.375 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.7974, allocations: 152.3 kB / 0.9537 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.7976, allocations: 0.6852 MB / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.66e-05/0.7976, allocations: 2.75 kB / 0.9544 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.7977, allocations: 15.11 kB / 0.9544 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7977, allocations: 4 kB / 0.9544 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.003897/0.8016, allocations: 0.7675 MB / 0.9552 GB, free: 3.812 MB / 0.7169 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 -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/jenkins/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