Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001084/0.001084, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001256/0.001256, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.403/2.403, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 64.88 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3231, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002322/0.3255, allocations: 0.7878 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3266, allocations: 0.8585 MB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.3267, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.3268, allocations: 11.81 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.461e-05/0.3269, allocations: 11.86 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3271, allocations: 43.95 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.3273, allocations: 87.73 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3274, allocations: 23.97 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3275, allocations: 43.84 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.3276, allocations: 47.81 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.3276, allocations: 8 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/0.3277, allocations: 12 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.3277, allocations: 15.92 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.3278, allocations: 39.78 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.3279, allocations: 87.72 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3279, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3279, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3279, allocations: 0 / 1.02 GB, free: 8.566 MB / 0.795 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.0006699/0.3286, allocations: 391.5 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3286, allocations: 12.92 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.21e-05/0.3287, allocations: 20.77 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3289, allocations: 172.2 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3289, allocations: 4.375 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3289, allocations: 12.31 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3293, allocations: 110.2 kB / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3293, allocations: 0 / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3293, allocations: 0 / 1.021 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3293, allocations: 4 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.3297, allocations: 103.8 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.3303, allocations: 340.7 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/0.331, allocations: 126.5 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.3312, allocations: 52.81 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3312, allocations: 0 / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.3312, allocations: 38.56 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3312, allocations: 0 / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006953/0.3319, allocations: 173.5 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.332, allocations: 59.39 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3321, allocations: 125.8 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3321, allocations: 25.7 kB / 1.022 GB, free: 6.637 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.3322, allocations: 101.5 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3322, allocations: 15.75 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.3323, allocations: 25.7 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3324, allocations: 322.8 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3326, allocations: 39.95 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.3328, allocations: 59.92 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.3331, allocations: 88.78 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3331, allocations: 0 / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004274/0.3336, allocations: 137.5 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3336, allocations: 4 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3336, allocations: 4 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3336, allocations: 0 / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.3338, allocations: 23.91 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3338, allocations: 8 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.334, allocations: 19.92 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.334, allocations: 8.531 kB / 1.022 GB, free: 5.77 MB / 0.795 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.779e-05/0.3341, allocations: 113.8 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.3341, allocations: 7.906 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.3341, allocations: 8.375 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3342, allocations: 4 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3342, allocations: 0 / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3342, allocations: 3.938 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.3344, allocations: 201.5 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3344, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3346, allocations: 27.97 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3346, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3346, allocations: 7.938 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3346, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3346, allocations: 3.938 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.3351, allocations: 243.3 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.3351, allocations: 85 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3352, allocations: 3.984 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3353, allocations: 11.98 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.3354, allocations: 27.91 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3354, allocations: 7.938 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.3355, allocations: 95.27 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3355, allocations: 0 / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002491/0.3358, allocations: 16 kB / 1.023 GB, free: 4.82 MB / 0.795 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.0001339/0.3359, allocations: 99.25 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.3364, allocations: 107.8 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3364, allocations: 0 / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.3366, allocations: 67.89 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3369, allocations: 9.891 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.3374, allocations: 204.1 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3377, allocations: 0.6924 MB / 1.024 GB, free: 3.578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.3378, allocations: 19.42 kB / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3378, allocations: 0 / 1.024 GB, free: 3.559 MB / 0.795 GB Notification: Performance of Templates: time 0.002934/0.3407, allocations: 1.238 MB / 1.026 GB, free: 2.332 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches