Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 105.8 kB / 15.99 MB, free: 6.348 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.001307/0.001307, allocations: 191.6 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.295/2.295, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 62.83 kB / 0.8127 GB, free: 32.42 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3007, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003735/0.3045, allocations: 2.058 MB / 0.9518 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3066, allocations: 1.186 MB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.3068, allocations: 4 kB / 0.9529 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.3074, allocations: 143.5 kB / 0.9531 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004292/0.3078, allocations: 147.5 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.3085, allocations: 207.5 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.3089, allocations: 307.2 kB / 0.9537 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.3091, allocations: 48.28 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002812/0.3094, allocations: 151.3 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.3097, allocations: 155.4 kB / 0.9541 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.3097, allocations: 16 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.3099, allocations: 63.91 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.31, allocations: 87.73 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.3101, allocations: 119.2 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.3105, allocations: 291.6 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3106, allocations: 3.938 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3106, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3106, allocations: 4 kB / 0.9546 GB, free: 4.234 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00111/0.3117, allocations: 0.6225 MB / 0.9552 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3117, allocations: 8.031 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.3118, allocations: 36.47 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.3124, allocations: 378.2 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3124, allocations: 4 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.3124, allocations: 15.98 kB / 0.9556 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.3127, allocations: 105.5 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3127, allocations: 0 / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.3127, allocations: 12 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3127, allocations: 0 / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3129, allocations: 59.95 kB / 0.9558 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.3138, allocations: 0.4886 MB / 0.9563 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3142, allocations: 142.7 kB / 0.9564 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3143, allocations: 52.77 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.3144, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3146, allocations: 111.5 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.3146, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005418/0.3152, allocations: 229 kB / 0.9568 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3152, allocations: 59.34 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.3158, allocations: 0.5054 MB / 0.9573 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3159, allocations: 29.7 kB / 0.9574 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.316, allocations: 164.4 kB / 0.9575 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.316, allocations: 35.55 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3162, allocations: 73.95 kB / 0.9576 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3163, allocations: 350.8 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.3165, allocations: 96.52 kB / 0.9581 GB, free: 492 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.3168, allocations: 131.6 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3171, allocations: 186.2 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3171, allocations: 0 / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005698/0.3177, allocations: 325.2 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3177, allocations: 4 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3177, allocations: 3.938 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3178, allocations: 4 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.318, allocations: 47.91 kB / 0.9587 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.318, allocations: 7.938 kB / 0.9587 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3182, allocations: 23.91 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3182, allocations: 19.98 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001978/0.3184, allocations: 177.8 kB / 0.959 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3185, allocations: 35.56 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.3185, allocations: 39.06 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3186, allocations: 4 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3186, allocations: 0 / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3186, allocations: 3.984 kB / 0.959 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.3188, allocations: 293.4 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3189, allocations: 8 kB / 0.9593 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.3189, allocations: 11.98 kB / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.319, allocations: 0 / 0.9593 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.319, allocations: 11.94 kB / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.319, allocations: 0 / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.319, allocations: 0 / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3194, allocations: 204.6 kB / 0.9595 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.3195, allocations: 112.7 kB / 0.9596 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.3195, allocations: 11.94 kB / 0.9597 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3196, allocations: 7.984 kB / 0.9597 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.3197, allocations: 23.97 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3197, allocations: 4 kB / 0.9597 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003388/0.3201, allocations: 315.1 kB / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3201, allocations: 0 / 0.96 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000303/0.3204, allocations: 56 kB / 0.96 GB, free: 14.33 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001019/0.3214, allocations: 426.1 kB / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.3219, allocations: 208 kB / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3219, allocations: 0 / 0.9607 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.322, allocations: 59.91 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.3226, allocations: 91.98 kB / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.3235, allocations: 0.6349 MB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3239, allocations: 0.7907 MB / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.324, allocations: 35.42 kB / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.324, allocations: 0 / 0.9622 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.007407/0.3314, allocations: 4.375 MB / 0.9665 GB, free: 7.84 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches