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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001293/0.001293, allocations: 101.3 kB / 16.35 MB, free: 5.824 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.00134/0.00134, allocations: 192 kB / 17.29 MB, free: 5.48 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 65.7 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3015, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002279/0.3039, allocations: 0.7794 MB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.305, allocations: 0.8683 MB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.3051, allocations: 4 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.3052, allocations: 3.938 kB / 0.9527 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.3053, allocations: 11.81 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.3056, allocations: 39.89 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3057, allocations: 83.81 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.3059, allocations: 27.98 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3061, allocations: 43.78 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3062, allocations: 51.81 kB / 0.953 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.3062, allocations: 8 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.3063, allocations: 8 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.3063, allocations: 11.98 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.3064, allocations: 39.78 kB / 0.9531 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3066, allocations: 95.66 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3066, allocations: 0 / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3066, allocations: 0 / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.3066, allocations: 0 / 0.9531 GB, free: 5.961 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.0008301/0.3074, allocations: 395.1 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3075, allocations: 12.03 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3076, allocations: 8.844 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3078, allocations: 184.2 kB / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3078, allocations: 8.375 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3078, allocations: 384 / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.3082, allocations: 105.7 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3082, allocations: 0 / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.3082, allocations: 4 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3082, allocations: 4 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.3086, allocations: 95.91 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.3092, allocations: 344.6 kB / 0.9543 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.3098, allocations: 118.6 kB / 0.9544 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.31, allocations: 60.8 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3101, allocations: 3.938 kB / 0.9544 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3101, allocations: 30.56 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3101, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006365/0.3107, allocations: 185.5 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3108, allocations: 51.41 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.3109, allocations: 129.8 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3109, allocations: 25.7 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.311, allocations: 96 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.311, allocations: 23.73 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.3111, allocations: 21.7 kB / 0.955 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3112, allocations: 330.8 kB / 0.9553 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.3114, allocations: 43.95 kB / 0.9553 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.3115, allocations: 47.89 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3118, allocations: 96.77 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3119, allocations: 3.938 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003731/0.3122, allocations: 130 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3123, allocations: 8 kB / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3123, allocations: 0 / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3123, allocations: 0 / 0.9556 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3125, allocations: 27.97 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.3125, allocations: 3.938 kB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.3126, allocations: 19.91 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3126, allocations: 0 / 0.9556 GB, free: 3.172 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 0.0001118/0.3128, allocations: 117.8 kB / 0.9558 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.3128, allocations: 7.906 kB / 0.9558 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.3128, allocations: 8.375 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3128, allocations: 11.98 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3129, allocations: 0 / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3129, allocations: 3.938 kB / 0.9558 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3131, allocations: 197.5 kB / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3131, allocations: 0 / 0.956 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3133, allocations: 27.97 kB / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3133, allocations: 0 / 0.956 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.3133, allocations: 7.984 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3133, allocations: 80 / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3133, allocations: 3.984 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.3138, allocations: 243.2 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.3138, allocations: 84.95 kB / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3138, allocations: 0 / 0.9563 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.314, allocations: 11.98 kB / 0.9563 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.3141, allocations: 27.97 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3141, allocations: 7.938 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.3142, allocations: 91.27 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3142, allocations: 0 / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002382/0.3145, allocations: 16 kB / 0.9565 GB, free: 2.227 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.0001402/0.3146, allocations: 99.25 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004187/0.315, allocations: 115.8 kB / 0.9567 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.315, allocations: 4 kB / 0.9567 GB, free: 2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.3152, allocations: 63.94 kB / 0.9568 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3156, allocations: 4 kB / 0.9568 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.316, allocations: 166.4 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3163, allocations: 0.7 MB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.732e-05/0.3164, allocations: 15.98 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3165, allocations: 27.3 kB / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.3165, allocations: 0 / 0.9576 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of Templates: time 0.004161/0.3206, allocations: 1.577 MB / 0.9592 GB, free: 15.39 MB / 0.7481 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 -s cvode -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