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.01061/0.01061, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002201/0.002201, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.795/1.795, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.507/2.507, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 66.12 kB / 0.9504 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2793, allocations: 140.4 MB / 1.087 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003354/0.2827, allocations: 1.987 MB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.285, allocations: 1.197 MB / 1.091 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.2853, allocations: 7.938 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.2858, allocations: 155.5 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.2864, allocations: 159.4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.2871, allocations: 230 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.2875, allocations: 311.2 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2877, allocations: 48.36 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.288, allocations: 159.4 kB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2882, allocations: 151.4 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.2883, allocations: 16 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.2884, allocations: 51.98 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2886, allocations: 91.66 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2887, allocations: 131.1 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2892, allocations: 370.6 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2892, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2892, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.2893, allocations: 0 / 1.092 GB, free: 13.05 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.001241/0.2905, allocations: 0.6377 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.2906, allocations: 12.03 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.2906, allocations: 38.73 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2908, allocations: 36.7 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.2914, allocations: 378.1 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2914, allocations: 4 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.2914, allocations: 12 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.2917, allocations: 107.3 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2917, allocations: 0 / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.2918, allocations: 7.984 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2918, allocations: 0 / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.292, allocations: 55.97 kB / 1.094 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.2928, allocations: 0.4964 MB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.2932, allocations: 138.7 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2933, allocations: 52.77 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2934, allocations: 7.984 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.2936, allocations: 119.3 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.2936, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005656/0.2942, allocations: 220.5 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.2943, allocations: 55.41 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.2949, allocations: 0.5015 MB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2949, allocations: 37.69 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.295, allocations: 164.4 kB / 1.095 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.2951, allocations: 35.73 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2952, allocations: 73.92 kB / 1.095 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2954, allocations: 350.8 kB / 1.096 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.2956, allocations: 96.52 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.2959, allocations: 131.6 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2962, allocations: 184 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2962, allocations: 4 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005426/0.2968, allocations: 325.3 kB / 1.097 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2968, allocations: 7.938 kB / 1.097 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2968, allocations: 0 / 1.097 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2968, allocations: 4 kB / 1.097 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.297, allocations: 47.91 kB / 1.097 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.2971, allocations: 8 kB / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2972, allocations: 15.98 kB / 1.097 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.2973, allocations: 16 kB / 1.097 GB, free: 8.48 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.0001818/0.2975, allocations: 185.7 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.2975, allocations: 43.69 kB / 1.097 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.086e-05/0.2976, allocations: 35.06 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2976, allocations: 4 kB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2976, allocations: 0 / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2976, allocations: 0 / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.2979, allocations: 305.4 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2979, allocations: 4 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.84e-05/0.298, allocations: 8 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.298, allocations: 3.938 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.298, allocations: 7.984 kB / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.298, allocations: 0 / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2981, allocations: 0 / 1.097 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.2984, allocations: 212.8 kB / 1.097 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.2985, allocations: 116.8 kB / 1.098 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2986, allocations: 4 kB / 1.098 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2987, allocations: 11.98 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.2988, allocations: 15.98 kB / 1.098 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.2988, allocations: 7.984 kB / 1.098 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003153/0.2991, allocations: 315.1 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2991, allocations: 0 / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002945/0.2994, allocations: 55.94 kB / 1.098 GB, free: 7.078 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.001533/0.301, allocations: 1.076 MB / 1.099 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.3014, allocations: 191.8 kB / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3014, allocations: 0 / 1.099 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3016, allocations: 64.03 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.3021, allocations: 82.94 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3059, allocations: 3.109 MB / 1.102 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.3063, allocations: 0.787 MB / 1.103 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000169/0.3065, allocations: 58.94 kB / 1.103 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3067, allocations: 107.4 kB / 1.103 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of SimCode: time 8.32e-07/0.3067, allocations: 0 / 1.103 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.3356, allocations: 7.164 MB / 1.11 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.552, allocations: 5.969 kB / 1.11 GB, free: 10.55 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