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.001637/0.001637, allocations: 108 kB / 15.6 MB, free: 132 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.002484/0.002484, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.489/1.489, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.524/2.524, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001698, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8522, allocations: 140.4 MB / 0.9496 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002013/0.8543, allocations: 0.6973 MB / 0.9503 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007768/0.8551, allocations: 0.8365 MB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.8551, allocations: 1.656 kB / 0.9511 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.8552, allocations: 3.938 kB / 0.9511 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.8553, allocations: 3.938 kB / 0.9511 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.8554, allocations: 29.03 kB / 0.9511 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.943e-05/0.8555, allocations: 50.38 kB / 0.9512 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.8556, allocations: 17.64 kB / 0.9512 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.8557, allocations: 19.39 kB / 0.9512 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.8558, allocations: 22.2 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.8558, allocations: 8.953 kB / 0.9512 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.8558, allocations: 3.656 kB / 0.9512 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.8559, allocations: 13.58 kB / 0.9513 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.8559, allocations: 20.02 kB / 0.9513 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.856, allocations: 43.48 kB / 0.9513 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.856, allocations: 1.219 kB / 0.9513 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.856, allocations: 0 / 0.9513 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.856, allocations: 4 kB / 0.9513 GB, free: 8.004 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.0004881/0.8565, allocations: 361.4 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8566, allocations: 10 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.8566, allocations: 2.594 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.8567, allocations: 171.2 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.8567, allocations: 1.531 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.8568, allocations: 6.969 kB / 0.9519 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.857, allocations: 76.09 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.857, allocations: 0 / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.857, allocations: 1.594 kB / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.857, allocations: 0 / 0.9519 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.8572, allocations: 47.02 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.8576, allocations: 296 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.8578, allocations: 63.86 kB / 0.9523 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.8579, allocations: 30.88 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.8579, allocations: 0 / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.8579, allocations: 31.78 kB / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.8579, allocations: 0 / 0.9524 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003954/0.8583, allocations: 116.9 kB / 0.9525 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.8584, allocations: 52.88 kB / 0.9525 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.8584, allocations: 106.3 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.8585, allocations: 31.3 kB / 0.9527 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.8585, allocations: 85.44 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.8585, allocations: 17.06 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.8586, allocations: 17.5 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.8586, allocations: 324.4 kB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.8587, allocations: 25.27 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.8588, allocations: 24.31 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.859, allocations: 58.92 kB / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.859, allocations: 0 / 0.9532 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002197/0.8592, allocations: 92.27 kB / 0.9533 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8593, allocations: 10.28 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8593, allocations: 0 / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8593, allocations: 1.562 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.8594, allocations: 10.7 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.8594, allocations: 1.406 kB / 0.9533 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.8595, allocations: 8.359 kB / 0.9533 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.8595, allocations: 5.469 kB / 0.9533 GB, free: 6.047 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 6.302e-05/0.8596, allocations: 116.5 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.8596, allocations: 5.25 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.8596, allocations: 9.281 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.8597, allocations: 1.469 kB / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8597, allocations: 0 / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.8597, allocations: 0 / 0.9534 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.8598, allocations: 176.3 kB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8598, allocations: 0 / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.54e-05/0.8599, allocations: 16.67 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8599, allocations: 0 / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.8599, allocations: 0 / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8599, allocations: 5.125 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.86, allocations: 0 / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.8602, allocations: 179.6 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.8602, allocations: 86.41 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.8603, allocations: 5.344 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.8604, allocations: 12.77 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.8604, allocations: 3.656 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.8604, allocations: 9.266 kB / 0.9539 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.882e-05/0.8605, allocations: 81.41 kB / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8605, allocations: 0 / 0.954 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.8607, allocations: 10.97 kB / 0.954 GB, free: 5.328 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.0001155/0.8608, allocations: 105.1 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.8611, allocations: 63.44 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.8611, allocations: 0 / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.8612, allocations: 34.09 kB / 0.9542 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.8615, allocations: 6.031 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.8618, allocations: 137.7 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.862, allocations: 0.6846 MB / 0.955 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.183e-05/0.862, allocations: 7.219 kB / 0.955 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.8621, allocations: 11.53 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8621, allocations: 4 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.003095/0.8652, allocations: 0.8859 MB / 0.9559 GB, free: 3.883 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