Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, 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.001898/0.001898, allocations: 199.1 kB / 16.14 MB, free: 6.645 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.394/2.394, allocations: 390.2 MB / 0.6642 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002356, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.899/0.9014, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002/0.9035, allocations: 0.8368 MB / 0.9497 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008974/0.9044, allocations: 0.8578 MB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.9044, allocations: 3.938 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.9045, allocations: 1.438 kB / 0.9506 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.9046, allocations: 11.92 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.9048, allocations: 38.95 kB / 0.9506 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.933e-05/0.9049, allocations: 78.41 kB / 0.9507 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.905, allocations: 26.2 kB / 0.9507 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.9051, allocations: 36.42 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.9052, allocations: 48.48 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.9052, allocations: 5.719 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.9052, allocations: 5.219 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.9053, allocations: 21.22 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.9053, allocations: 35.53 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.9054, allocations: 73.98 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.9054, allocations: 0 / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9054, allocations: 0 / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.9054, allocations: 1.312 kB / 0.951 GB, free: 7.531 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.0005928/0.906, allocations: 406.2 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.9061, allocations: 9.812 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.9061, allocations: 8.625 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.9063, allocations: 177.2 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.9063, allocations: 3.125 kB / 0.9515 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.9063, allocations: 7.469 kB / 0.9515 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.9066, allocations: 109.8 kB / 0.9516 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9066, allocations: 0 / 0.9516 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9066, allocations: 4 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.9066, allocations: 1.156 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.907, allocations: 99.83 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.9075, allocations: 349.5 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.9081, allocations: 122.8 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.9083, allocations: 50.66 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.9083, allocations: 8 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.9083, allocations: 31.88 kB / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.9083, allocations: 0 / 0.9523 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006313/0.909, allocations: 183.4 kB / 0.9525 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.909, allocations: 56.94 kB / 0.9525 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.9091, allocations: 121.8 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.9091, allocations: 25.7 kB / 0.9527 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.9092, allocations: 95.36 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.9092, allocations: 26.06 kB / 0.9528 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.9092, allocations: 24.58 kB / 0.9528 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.9093, allocations: 323.8 kB / 0.9531 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.9095, allocations: 48.86 kB / 0.9531 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.9097, allocations: 44.45 kB / 0.9532 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.91, allocations: 92.88 kB / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.91, allocations: 0 / 0.9533 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003795/0.9104, allocations: 143.6 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9104, allocations: 9.031 kB / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.9104, allocations: 0 / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.9104, allocations: 0 / 0.9534 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.9106, allocations: 23.84 kB / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9106, allocations: 0 / 0.9534 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.9107, allocations: 24.58 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.9107, allocations: 6.609 kB / 0.9535 GB, free: 5.285 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,intGre.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.557e-05/0.9108, allocations: 117.2 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.9109, allocations: 6.25 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.9109, allocations: 10.66 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9109, allocations: 1.156 kB / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9109, allocations: 0 / 0.9536 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9109, allocations: 3.938 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.9111, allocations: 195.5 kB / 0.9538 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9111, allocations: 9.547 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.9113, allocations: 26.88 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9113, allocations: 0 / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.9113, allocations: 9.281 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9113, allocations: 0 / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9113, allocations: 1.281 kB / 0.9538 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.9117, allocations: 238.2 kB / 0.9541 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.9117, allocations: 82.5 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9118, allocations: 1.281 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.9119, allocations: 12.8 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.912, allocations: 22.44 kB / 0.9542 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.912, allocations: 6.375 kB / 0.9542 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.9121, allocations: 92.48 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9121, allocations: 5.375 kB / 0.9543 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002417/0.9123, allocations: 23.41 kB / 0.9543 GB, free: 4.488 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 (intGre.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.0001102/0.9124, allocations: 104.9 kB / 0.9544 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004134/0.9129, allocations: 101.8 kB / 0.9545 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9129, allocations: 4 kB / 0.9545 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.9131, allocations: 63.69 kB / 0.9546 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.9134, allocations: 15.75 kB / 0.9546 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.9139, allocations: 193.4 kB / 0.9548 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.914, allocations: 0.6913 MB / 0.9554 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.518e-05/0.9141, allocations: 9.969 kB / 0.9554 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.9142, allocations: 16.45 kB / 0.9555 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9142, allocations: 0 / 0.9555 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.00366/0.9178, allocations: 1.349 MB / 0.9568 GB, free: 2.727 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches