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.005349/0.005349, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001204/0.001204, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.392/2.392, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2921, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003314/0.2954, allocations: 1.995 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2974, allocations: 1.201 MB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2976, allocations: 7.938 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.2981, allocations: 155.5 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.2985, allocations: 151.3 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.2991, allocations: 221.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.2996, allocations: 319.2 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2997, allocations: 48.36 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.3, allocations: 139.4 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.3002, allocations: 147.4 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.3002, allocations: 20 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3004, allocations: 63.95 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3005, allocations: 87.67 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.3007, allocations: 123.2 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.3011, allocations: 362.4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3011, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3011, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.3011, allocations: 3.984 kB / 1.092 GB, free: 12.96 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.001038/0.3022, allocations: 0.632 MB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3022, allocations: 8.031 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.3023, allocations: 38.75 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.3024, allocations: 32.56 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.3029, allocations: 373.8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3029, allocations: 11.94 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3029, allocations: 11.98 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3032, allocations: 101.6 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3032, allocations: 0 / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3032, allocations: 8 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3032, allocations: 0 / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.3034, allocations: 63.95 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008252/0.3042, allocations: 0.4924 MB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.3046, allocations: 142.7 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.3047, allocations: 52.77 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3047, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.305, allocations: 114.4 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.305, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005285/0.3055, allocations: 225.3 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3056, allocations: 59.39 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.3061, allocations: 0.5015 MB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.3062, allocations: 29.7 kB / 1.095 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3063, allocations: 172.4 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.3063, allocations: 35.53 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.3064, allocations: 73.88 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3066, allocations: 350.8 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3068, allocations: 100.5 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.307, allocations: 127.6 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.3073, allocations: 184 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3074, allocations: 0 / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005326/0.3079, allocations: 317.2 kB / 1.096 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3079, allocations: 11.94 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3079, allocations: 0 / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.308, allocations: 4 kB / 1.097 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.3082, allocations: 51.91 kB / 1.097 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3082, allocations: 4 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.3083, allocations: 15.89 kB / 1.097 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3084, allocations: 8 kB / 1.097 GB, free: 8.41 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.0002205/0.3086, allocations: 185.8 kB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.3087, allocations: 31.56 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.3087, allocations: 43.06 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3087, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3087, allocations: 4 kB / 1.097 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3088, allocations: 3.984 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.309, allocations: 301.3 kB / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.309, allocations: 0 / 1.097 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.3091, allocations: 15.98 kB / 1.097 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3091, allocations: 7.938 kB / 1.097 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.3091, allocations: 7.984 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3091, allocations: 4 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3091, allocations: 0 / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3095, allocations: 196.6 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3096, allocations: 120.7 kB / 1.097 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.3097, allocations: 8 kB / 1.097 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3098, allocations: 11.98 kB / 1.097 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3099, allocations: 15.98 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.3099, allocations: 11.98 kB / 1.098 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003203/0.3102, allocations: 311.1 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3102, allocations: 0 / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002962/0.3105, allocations: 59.89 kB / 1.098 GB, free: 7.004 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.001489/0.312, allocations: 1.064 MB / 1.099 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.3124, allocations: 187.9 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3125, allocations: 0 / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.3126, allocations: 59.91 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.3131, allocations: 95.48 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.3168, allocations: 3.103 MB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3172, allocations: 0.7909 MB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.3174, allocations: 50.95 kB / 1.103 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3175, allocations: 111.4 kB / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3176, allocations: 0 / 1.103 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.3441, allocations: 7.153 MB / 1.11 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.451, allocations: 11.72 kB / 1.11 GB, free: 10.5 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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