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.001513/0.001513, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002236/0.002236, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.499/1.499, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8081, allocations: 140.3 MB / 0.9489 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002358/0.8105, allocations: 0.8326 MB / 0.9497 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008946/0.8114, allocations: 0.8607 MB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.8115, allocations: 2 kB / 0.9506 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.8115, allocations: 3.938 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.156e-05/0.8116, allocations: 9.609 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.8118, allocations: 37.23 kB / 0.9506 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.8119, allocations: 79.53 kB / 0.9507 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.812, allocations: 28.22 kB / 0.9507 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.8121, allocations: 29.94 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.8122, allocations: 48.55 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.8122, allocations: 5.156 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.8122, allocations: 5.562 kB / 0.9508 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.8123, allocations: 17.34 kB / 0.9508 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.8123, allocations: 31.08 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.8124, allocations: 78.31 kB / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8124, allocations: 0 / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8125, allocations: 0 / 0.9509 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.8125, allocations: 4 kB / 0.9509 GB, free: 7.504 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.0005824/0.8131, allocations: 398.2 kB / 0.9513 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8131, allocations: 14.59 kB / 0.9513 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.8132, allocations: 15.72 kB / 0.9514 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.8133, allocations: 185.8 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.8133, allocations: 2.156 kB / 0.9515 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.8133, allocations: 8.656 kB / 0.9515 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.8136, allocations: 108 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8136, allocations: 1.375 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.8136, allocations: 0 / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8136, allocations: 1.375 kB / 0.9516 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.814, allocations: 104.1 kB / 0.9517 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.8146, allocations: 339.1 kB / 0.9521 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/0.8153, allocations: 126.1 kB / 0.9522 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.8155, allocations: 51.47 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.8155, allocations: 5.438 kB / 0.9522 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.8155, allocations: 36.14 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.8155, allocations: 0 / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0007114/0.8163, allocations: 178.7 kB / 0.9524 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.8163, allocations: 52.84 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.8164, allocations: 129.2 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8165, allocations: 25.7 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.8165, allocations: 91.91 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.8166, allocations: 26.14 kB / 0.9528 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.8166, allocations: 27.33 kB / 0.9528 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.8167, allocations: 321.4 kB / 0.9531 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.8169, allocations: 43.67 kB / 0.9531 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.8171, allocations: 43.95 kB / 0.9532 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.8174, allocations: 101.6 kB / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8174, allocations: 0 / 0.9533 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003726/0.8178, allocations: 132.2 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.8178, allocations: 5.25 kB / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.8178, allocations: 80 / 0.9534 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.8178, allocations: 3.938 kB / 0.9534 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.818, allocations: 30.69 kB / 0.9534 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.818, allocations: 5.328 kB / 0.9534 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.8181, allocations: 23.78 kB / 0.9535 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.8182, allocations: 1.344 kB / 0.9535 GB, free: 5.254 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 7.233e-05/0.8182, allocations: 117.6 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.8183, allocations: 7.656 kB / 0.9536 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.8183, allocations: 13.73 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.8183, allocations: 5.188 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8183, allocations: 0 / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8183, allocations: 5.281 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.8185, allocations: 199 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8185, allocations: 0 / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.8187, allocations: 23.69 kB / 0.9538 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8187, allocations: 0 / 0.9538 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.8187, allocations: 9.281 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8187, allocations: 0 / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8187, allocations: 5.312 kB / 0.9538 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/0.8191, allocations: 238.8 kB / 0.9541 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.8191, allocations: 78.3 kB / 0.9541 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.8192, allocations: 1.219 kB / 0.9541 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.8193, allocations: 15.41 kB / 0.9542 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.8194, allocations: 22.8 kB / 0.9542 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.8194, allocations: 10.33 kB / 0.9542 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.8194, allocations: 93.55 kB / 0.9543 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8194, allocations: 0 / 0.9543 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000225/0.8197, allocations: 23.97 kB / 0.9543 GB, free: 4.453 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.0001139/0.8198, allocations: 101 kB / 0.9544 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.8202, allocations: 109.7 kB / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8202, allocations: 0 / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.8204, allocations: 59.16 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.8208, allocations: 9.766 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.8212, allocations: 201.5 kB / 0.9548 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.8213, allocations: 0.6909 MB / 0.9554 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.8214, allocations: 14.27 kB / 0.9554 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.8215, allocations: 11.84 kB / 0.9555 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.8215, allocations: 1.438 kB / 0.9555 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of Templates: time 0.003702/0.8252, allocations: 1.351 MB / 0.9568 GB, free: 2.691 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