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.005346/0.005346, allocations: 98.52 kB / 15.73 MB, free: 6.004 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.001193/0.001193, allocations: 191 kB / 16.67 MB, free: 5.934 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.669/2.669, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.88 kB / 0.9509 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3222, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003404/0.3257, allocations: 1.999 MB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3276, allocations: 1.201 MB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3277, allocations: 8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.3282, allocations: 155.4 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3286, allocations: 155.4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.3291, allocations: 229.8 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.3295, allocations: 315.2 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3296, allocations: 52.36 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.3299, allocations: 151.4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3301, allocations: 147.4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3301, allocations: 16 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3303, allocations: 63.91 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3304, allocations: 83.73 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3305, allocations: 131.1 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.3309, allocations: 362.4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.331, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.331, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.331, allocations: 0 / 1.093 GB, free: 12.43 MB / 0.8575 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.001088/0.3321, allocations: 0.6416 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3321, allocations: 8.031 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.3322, allocations: 40.7 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3327, allocations: 370.4 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3327, allocations: 8 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3328, allocations: 8 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.333, allocations: 105.6 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.333, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.3331, allocations: 11.92 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3331, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3333, allocations: 63.95 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.3341, allocations: 0.4964 MB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.3344, allocations: 138.6 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3345, allocations: 48.84 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3346, allocations: 3.984 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.3348, allocations: 115.3 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3348, allocations: 7.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005012/0.3353, allocations: 216.5 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.3355, allocations: 59.41 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.3362, allocations: 0.5054 MB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3362, allocations: 29.7 kB / 1.096 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3363, allocations: 172.4 kB / 1.096 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.3364, allocations: 39.73 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.3365, allocations: 69.92 kB / 1.096 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.3367, allocations: 346.8 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3368, allocations: 96.52 kB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.3371, allocations: 139.6 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.3374, allocations: 180 kB / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3374, allocations: 0 / 1.097 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005052/0.3379, allocations: 321.4 kB / 1.097 GB, free: 8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3379, allocations: 7.938 kB / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3379, allocations: 0 / 1.097 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3379, allocations: 4 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.3382, allocations: 55.91 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3382, allocations: 4 kB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3383, allocations: 15.98 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.3384, allocations: 15.92 kB / 1.097 GB, free: 7.898 MB / 0.8575 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.0001692/0.3385, allocations: 187.7 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.3386, allocations: 39.7 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.271e-05/0.3387, allocations: 35.12 kB / 1.097 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3387, allocations: 4 kB / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3387, allocations: 0 / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3387, allocations: 0 / 1.097 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.339, allocations: 301.4 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.339, allocations: 0 / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.339, allocations: 15.92 kB / 1.098 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.339, allocations: 3.938 kB / 1.098 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3391, allocations: 8 kB / 1.098 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3391, allocations: 4 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3391, allocations: 0 / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.3394, allocations: 204.9 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.3396, allocations: 112.9 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.3396, allocations: 11.92 kB / 1.098 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.735e-05/0.3397, allocations: 4 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.3398, allocations: 23.97 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3398, allocations: 8 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003416/0.3402, allocations: 315.1 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3402, allocations: 0 / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003051/0.3405, allocations: 63.88 kB / 1.098 GB, free: 6.492 MB / 0.8575 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.00111/0.3416, allocations: 423.2 kB / 1.099 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004375/0.3421, allocations: 183.9 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3421, allocations: 4.062 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3422, allocations: 67.89 kB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.3428, allocations: 101.5 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.3438, allocations: 0.5214 MB / 1.1 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.3443, allocations: 0.787 MB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.3445, allocations: 54.95 kB / 1.1 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.3446, allocations: 35.42 kB / 1.1 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3446, allocations: 0 / 1.1 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of Templates: time 0.01052/0.3551, allocations: 4.08 MB / 1.104 GB, free: 404 kB / 0.8575 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/jenkins/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