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.00133/0.00133, allocations: 106.5 kB / 16.27 MB, free: 6.402 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.00132/0.00132, allocations: 191.2 kB / 17.2 MB, free: 5.938 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.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.176/2.176, allocations: 390.3 MB / 0.6653 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.78 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 140.4 MB / 0.9503 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002382/0.2683, allocations: 0.764 MB / 0.951 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2695, allocations: 0.8644 MB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.2696, allocations: 4 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.427e-05/0.2696, allocations: 11.86 kB / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2698, allocations: 7.938 kB / 0.9519 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.2699, allocations: 43.88 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2701, allocations: 75.84 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2702, allocations: 27.98 kB / 0.952 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2703, allocations: 47.77 kB / 0.9521 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.386e-05/0.2704, allocations: 47.83 kB / 0.9521 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.2705, allocations: 8 kB / 0.9521 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.2705, allocations: 8 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.2705, allocations: 11.98 kB / 0.9522 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.2706, allocations: 43.78 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.2707, allocations: 87.72 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2707, allocations: 0 / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2708, allocations: 0 / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2708, allocations: 0 / 0.9523 GB, free: 6.75 MB / 0.7325 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.0006654/0.2714, allocations: 395.4 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2715, allocations: 16.02 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.738e-05/0.2715, allocations: 12.78 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2717, allocations: 176.2 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.2717, allocations: 12.38 kB / 0.9529 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.2718, allocations: 8.359 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.2721, allocations: 101.7 kB / 0.953 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2721, allocations: 0 / 0.953 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.2721, allocations: 4 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2721, allocations: 0 / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.2725, allocations: 103.9 kB / 0.9531 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.2731, allocations: 352.6 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.2738, allocations: 118.6 kB / 0.9535 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.274, allocations: 52.81 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.274, allocations: 4 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2741, allocations: 30.56 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2741, allocations: 3.938 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000687/0.2748, allocations: 181.7 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.2748, allocations: 59.39 kB / 0.9538 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.2749, allocations: 125.7 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.2749, allocations: 25.7 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/0.275, allocations: 112 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.275, allocations: 11.75 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2751, allocations: 25.7 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2752, allocations: 318.8 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.2754, allocations: 47.94 kB / 0.9545 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.2756, allocations: 43.95 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.276, allocations: 100.7 kB / 0.9546 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.276, allocations: 3.938 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00042/0.2764, allocations: 133.5 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2764, allocations: 4 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2764, allocations: 4 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2764, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2766, allocations: 27.97 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2766, allocations: 0 / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2768, allocations: 15.92 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2768, allocations: 11.98 kB / 0.9548 GB, free: 3.938 MB / 0.7325 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 9.589e-05/0.2769, allocations: 117.8 kB / 0.9549 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.2769, allocations: 11.91 kB / 0.9549 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.277, allocations: 8.375 kB / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.277, allocations: 0 / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.277, allocations: 0 / 0.9549 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.277, allocations: 3.938 kB / 0.9549 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.2772, allocations: 205.5 kB / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2772, allocations: 0 / 0.9551 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2774, allocations: 27.97 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2774, allocations: 0 / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2774, allocations: 0 / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2774, allocations: 4 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.2774, allocations: 4 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.2779, allocations: 231.2 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.2779, allocations: 89 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.278, allocations: 0 / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2781, allocations: 19.98 kB / 0.9555 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.2782, allocations: 23.97 kB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2782, allocations: 3.938 kB / 0.9555 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.2783, allocations: 95.27 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2783, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002364/0.2785, allocations: 12 kB / 0.9556 GB, free: 3.004 MB / 0.7325 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.0001178/0.2787, allocations: 99.25 kB / 0.9557 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.2791, allocations: 119.8 kB / 0.9558 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2791, allocations: 7.875 kB / 0.9558 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.2793, allocations: 51.95 kB / 0.9559 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2797, allocations: 8 kB / 0.9559 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.2802, allocations: 200 kB / 0.9561 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.2804, allocations: 0.6983 MB / 0.9568 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.2805, allocations: 19.42 kB / 0.9568 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of SimCode: time 5.861e-06/0.2805, allocations: 0 / 0.9568 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of Templates: time 0.002879/0.2834, allocations: 1.25 MB / 0.958 GB, free: 0.4922 MB / 0.7325 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/jenkins1/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