Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, 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.001229/0.001229, allocations: 194.9 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.529/2.529, allocations: 390.2 MB / 0.6646 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8587/0.8601, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002555/0.8627, allocations: 0.7677 MB / 0.9503 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.8639, allocations: 0.8677 MB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.864, allocations: 0.9062 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.8641, allocations: 7.875 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.8642, allocations: 9.5 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.8644, allocations: 42.78 kB / 0.9512 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.8646, allocations: 87.05 kB / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.8648, allocations: 26.36 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.8649, allocations: 36.77 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.669e-05/0.865, allocations: 48.3 kB / 0.9514 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.865, allocations: 13.22 kB / 0.9514 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.8651, allocations: 7.344 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.8651, allocations: 22.66 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.8652, allocations: 34.55 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.8653, allocations: 82.28 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8653, allocations: 1.562 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8653, allocations: 0 / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8653, allocations: 4 kB / 0.9516 GB, free: 7.484 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000605/0.866, allocations: 393.8 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.866, allocations: 9.531 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.8661, allocations: 8.281 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.8662, allocations: 189.5 kB / 0.9522 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.8662, allocations: 7.094 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.8662, allocations: 4.344 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.8666, allocations: 112 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8666, allocations: 0 / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.8666, allocations: 4 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.8666, allocations: 2.375 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.867, allocations: 91.72 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.8675, allocations: 359 kB / 0.9527 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.8681, allocations: 114 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.8683, allocations: 63.81 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.8684, allocations: 0 / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.8684, allocations: 31.69 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.8684, allocations: 0.9062 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007173/0.8691, allocations: 182.9 kB / 0.9531 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.8692, allocations: 52.56 kB / 0.9531 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.8693, allocations: 122.4 kB / 0.9533 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8693, allocations: 25.7 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.8693, allocations: 99.36 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.8694, allocations: 21.81 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.8694, allocations: 28.11 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.8695, allocations: 320.8 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.8697, allocations: 51.58 kB / 0.9538 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.8699, allocations: 49.8 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.8703, allocations: 92.66 kB / 0.9539 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8703, allocations: 0 / 0.9539 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004014/0.8707, allocations: 142.3 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.8707, allocations: 10.12 kB / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8707, allocations: 0 / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.8707, allocations: 0 / 0.9541 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8709, allocations: 30.88 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.8709, allocations: 5.188 kB / 0.9541 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.871, allocations: 16.02 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.8711, allocations: 6.641 kB / 0.9541 GB, free: 5.23 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: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.23e-05/0.8711, allocations: 112.4 kB / 0.9542 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.8712, allocations: 7.5 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.8712, allocations: 9.812 kB / 0.9542 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8712, allocations: 9.547 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.8712, allocations: 0 / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8713, allocations: 3.938 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.8714, allocations: 199.5 kB / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8714, allocations: 0 / 0.9544 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.8716, allocations: 23.75 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8716, allocations: 0 / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.8716, allocations: 5.109 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8716, allocations: 1.25 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8716, allocations: 0 / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.872, allocations: 235.2 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.8721, allocations: 82.28 kB / 0.9548 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.8721, allocations: 5.125 kB / 0.9548 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.8723, allocations: 11.42 kB / 0.9548 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.8724, allocations: 27.03 kB / 0.9548 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.8724, allocations: 6.375 kB / 0.9548 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.8724, allocations: 92.7 kB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8724, allocations: 1.375 kB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002346/0.8727, allocations: 22.62 kB / 0.9549 GB, free: 4.441 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000119/0.8728, allocations: 98 kB / 0.955 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.8732, allocations: 117.7 kB / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8733, allocations: 0 / 0.9551 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.8735, allocations: 59.14 kB / 0.9552 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.8738, allocations: 13.89 kB / 0.9552 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.8743, allocations: 170.9 kB / 0.9554 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.8744, allocations: 0.6933 MB / 0.9561 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.326e-05/0.8745, allocations: 15.95 kB / 0.9561 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.8746, allocations: 17.22 kB / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8746, allocations: 0 / 0.9561 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.004192/0.8788, allocations: 1.58 MB / 0.9576 GB, free: 2.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches