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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0009909/0.000991, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.00167/0.00167, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.764/2.764, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12 kB / 0.8708 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8484/0.8488, allocations: 153.7 MB / 1.021 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001026/0.8499, allocations: 429.3 kB / 1.021 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.8509, allocations: 0.8275 MB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.8509, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.8509, allocations: 3.844 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.851, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.8512, allocations: 23.91 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.8513, allocations: 27.91 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.8514, allocations: 7.984 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.8515, allocations: 11.98 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.892e-05/0.8516, allocations: 23.92 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.8516, allocations: 4 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.8516, allocations: 0 / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.8517, allocations: 15.91 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.8517, allocations: 29.7 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.8518, allocations: 27.94 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.8518, allocations: 0 / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8518, allocations: 3.938 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8518, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 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.0005452/0.8523, allocations: 357.3 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8524, allocations: 15.98 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.8524, allocations: 3.906 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.8526, allocations: 174.9 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.8526, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8526, allocations: 8 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.8528, allocations: 77.61 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.8528, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.8529, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8529, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.8531, allocations: 59.94 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.8536, allocations: 300.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.8538, allocations: 62.55 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.8538, allocations: 4.031 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8539, allocations: 38.5 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.8539, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004338/0.8543, allocations: 129.7 kB / 1.023 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.8543, allocations: 51.41 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.8544, allocations: 109.8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.8545, allocations: 25.7 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.8545, allocations: 88.05 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.8546, allocations: 15.84 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.8546, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8547, allocations: 314.8 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.8548, allocations: 27.98 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.8549, allocations: 31.97 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.855, allocations: 23.98 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.855, allocations: 7.953 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002454/0.8553, allocations: 97.86 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.8553, allocations: 8 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8553, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.8553, allocations: 0 / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.8555, allocations: 16.03 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8555, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.032e-05/0.8556, allocations: 15.88 kB / 1.024 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.8556, allocations: 4 kB / 1.024 GB, free: 13.37 MB / 0.7794 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 (intLesThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.8557, allocations: 109.8 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.8557, allocations: 7.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.8558, allocations: 7.906 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8558, allocations: 7.984 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.8558, allocations: 7.938 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8558, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.856, allocations: 169.7 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.856, allocations: 0 / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.8561, allocations: 19.94 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8561, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8561, allocations: 7.984 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.8561, allocations: 7.875 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8561, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.8564, allocations: 195.4 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.8565, allocations: 77.11 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.8565, allocations: 3.953 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.8566, allocations: 19.98 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.8567, allocations: 7.984 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.8567, allocations: 4 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.8568, allocations: 87.27 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8568, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000243/0.857, allocations: 8 kB / 1.025 GB, free: 12.54 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.8572, allocations: 99.25 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8574, allocations: 67.89 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8574, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8576, allocations: 39.97 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.8578, allocations: 5.375 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.8582, allocations: 140.6 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.8585, allocations: 0.6809 MB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.8585, allocations: 11.98 kB / 1.026 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.8586, allocations: 7.438 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.414e-06/0.8586, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.003038/0.8616, allocations: 0.7462 MB / 1.027 GB, free: 10.69 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches