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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008753/0.008754, allocations: 101.1 kB / 15.73 MB, free: 6.031 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.001998/0.001998, allocations: 194.8 kB / 16.67 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.404/2.404, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 63.28 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003534/0.2772, allocations: 1.997 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.28, allocations: 1.197 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.2803, allocations: 7.938 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.281, allocations: 163.4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005532/0.2816, allocations: 155.4 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007234/0.2823, allocations: 217.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.2829, allocations: 319.2 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.2831, allocations: 52.36 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.2834, allocations: 147.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.2837, allocations: 151.4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.2838, allocations: 12 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.284, allocations: 67.89 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.2841, allocations: 83.75 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2843, allocations: 123.1 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2848, allocations: 366.4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2848, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2848, allocations: 0 / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2848, allocations: 0 / 1.092 GB, free: 12.94 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.001161/0.286, allocations: 0.634 MB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2861, allocations: 12.03 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.2861, allocations: 38.73 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.2862, allocations: 36.5 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.2868, allocations: 373.8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2868, allocations: 8 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.2868, allocations: 4 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.2871, allocations: 111.3 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2871, allocations: 0 / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2871, allocations: 0 / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2871, allocations: 4 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.2873, allocations: 63.89 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.2882, allocations: 0.4964 MB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.2885, allocations: 134.6 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.2887, allocations: 52.83 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.2887, allocations: 4 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.289, allocations: 115.3 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.289, allocations: 3.938 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005917/0.2896, allocations: 217.3 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.2896, allocations: 55.41 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.2903, allocations: 0.5054 MB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2903, allocations: 37.7 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.2905, allocations: 168.4 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.2905, allocations: 35.55 kB / 1.095 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2907, allocations: 73.88 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2909, allocations: 342.8 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2911, allocations: 100.5 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2913, allocations: 127.6 kB / 1.096 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.2917, allocations: 192 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2917, allocations: 0 / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005842/0.2923, allocations: 317.2 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2923, allocations: 7.938 kB / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.2923, allocations: 0 / 1.096 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2924, allocations: 8.062 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2926, allocations: 51.91 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.2926, allocations: 7.938 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2928, allocations: 19.89 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2928, allocations: 8 kB / 1.097 GB, free: 8.383 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.0002021/0.293, allocations: 181.7 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.2931, allocations: 39.5 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.2932, allocations: 35.12 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2932, allocations: 8 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2932, allocations: 0 / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.2932, allocations: 0 / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.2936, allocations: 305.3 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2936, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.2936, allocations: 15.92 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2937, allocations: 3.938 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.2937, allocations: 8 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2937, allocations: 0 / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2937, allocations: 0 / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/0.2941, allocations: 200.7 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2942, allocations: 116.7 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2943, allocations: 4 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2944, allocations: 7.984 kB / 1.097 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.2945, allocations: 19.97 kB / 1.097 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2945, allocations: 8 kB / 1.098 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003696/0.2949, allocations: 315.1 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2949, allocations: 8 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003213/0.2952, allocations: 55.91 kB / 1.098 GB, free: 6.984 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.001646/0.2969, allocations: 1.06 MB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2974, allocations: 191.8 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.2974, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.2975, allocations: 69.39 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.2981, allocations: 89.45 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/0.3023, allocations: 3.105 MB / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3028, allocations: 0.787 MB / 1.103 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.303, allocations: 54.95 kB / 1.103 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3032, allocations: 111.4 kB / 1.103 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.3032, allocations: 0 / 1.103 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.3289, allocations: 7.273 MB / 1.11 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.474, allocations: 12.06 kB / 1.11 GB, free: 10.35 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > 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) "" Variables in the reference:time,intLes.u1,intLes.u2,intLes.y Variables in the result:intLes.u1,intLes.u2,intLes.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time