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.001319/0.001319, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.0014/0.0014, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.297/2.297, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00249/0.002491, allocations: 68.41 kB / 0.8132 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2983, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002302/0.3007, allocations: 0.773 MB / 0.951 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3018, allocations: 0.8606 MB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3018, allocations: 3.938 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.3019, allocations: 7.875 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.302, allocations: 15.86 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.3022, allocations: 35.95 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3023, allocations: 83.83 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3024, allocations: 31.97 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.3025, allocations: 35.84 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.3026, allocations: 47.83 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3027, allocations: 8 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.155e-05/0.3027, allocations: 8 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.112e-05/0.3027, allocations: 23.91 kB / 0.9522 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.3028, allocations: 35.8 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.3029, allocations: 83.72 kB / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3029, allocations: 0 / 0.9523 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3029, allocations: 8 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3029, allocations: 0 / 0.9523 GB, free: 6.816 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.0006357/0.3036, allocations: 391.4 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3036, allocations: 8.031 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.3037, allocations: 12.78 kB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.3038, allocations: 188.1 kB / 0.9529 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3038, allocations: 4.375 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.3039, allocations: 4.375 kB / 0.9529 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.3042, allocations: 109.7 kB / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.3042, allocations: 0 / 0.953 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3042, allocations: 4 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3042, allocations: 0 / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.3046, allocations: 91.91 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.3052, allocations: 352.6 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/0.3058, allocations: 122.6 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.306, allocations: 56.75 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3061, allocations: 0 / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3061, allocations: 30.56 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.3061, allocations: 0 / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000688/0.3068, allocations: 193.7 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3068, allocations: 51.41 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.3069, allocations: 125.8 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.307, allocations: 29.7 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.307, allocations: 99.94 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3071, allocations: 19.73 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.3071, allocations: 25.72 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3072, allocations: 322.8 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3074, allocations: 47.89 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3076, allocations: 47.95 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.308, allocations: 92.77 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.308, allocations: 4 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004239/0.3084, allocations: 133.5 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3084, allocations: 5.875 kB / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3085, allocations: 0 / 0.9547 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3085, allocations: 8 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3086, allocations: 23.91 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3087, allocations: 0 / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3088, allocations: 19.91 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.3088, allocations: 4 kB / 0.9548 GB, free: 4.02 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,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 9.012e-05/0.3089, allocations: 119.8 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.3089, allocations: 7.906 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.309, allocations: 16.36 kB / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.309, allocations: 0 / 0.9549 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.309, allocations: 3.984 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.309, allocations: 3.938 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.3092, allocations: 197.6 kB / 0.9551 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3092, allocations: 7.938 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.3094, allocations: 23.97 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3094, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3094, allocations: 3.984 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3094, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3094, allocations: 8 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.3099, allocations: 235.2 kB / 0.9554 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.31, allocations: 89.02 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.31, allocations: 0 / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3101, allocations: 19.92 kB / 0.9555 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.3102, allocations: 23.97 kB / 0.9555 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3102, allocations: 3.938 kB / 0.9555 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.3103, allocations: 95.27 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3103, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002422/0.3106, allocations: 16 kB / 0.9556 GB, free: 3.07 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 (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.0001194/0.3107, allocations: 99.23 kB / 0.9557 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004485/0.3111, allocations: 111.8 kB / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3111, allocations: 0 / 0.9558 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.3114, allocations: 55.95 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3117, allocations: 7.984 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3121, allocations: 199.9 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3124, allocations: 0.6961 MB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.3125, allocations: 19.42 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.3125, allocations: 0 / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of Templates: time 0.00276/0.3152, allocations: 1.245 MB / 0.958 GB, free: 0.5742 MB / 0.7325 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/jenkins1/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