Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_10_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.001591/0.001591, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.285/1.285, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5324, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00337/0.5358, allocations: 1.999 MB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001976/0.5378, allocations: 1.205 MB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.538, allocations: 3.938 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.5384, allocations: 159.5 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.5388, allocations: 155.4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.5393, allocations: 222.9 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.5397, allocations: 315.2 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.5398, allocations: 56.28 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.5401, allocations: 135.5 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.5402, allocations: 151.4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.5403, allocations: 16 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.5404, allocations: 63.95 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.991e-05/0.5406, allocations: 79.75 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.5407, allocations: 131.1 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.5411, allocations: 357 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5411, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5411, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.5411, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 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.0008699/0.542, allocations: 0.6108 MB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.542, allocations: 12.03 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.5421, allocations: 50.67 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.5422, allocations: 36.47 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.5426, allocations: 370 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5426, allocations: 8 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.5426, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.5429, allocations: 113.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.5429, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5429, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5429, allocations: 8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.5431, allocations: 63.95 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.5438, allocations: 492.4 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.5441, allocations: 146.6 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.5443, allocations: 48.83 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.5443, allocations: 4 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.5445, allocations: 111.4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.714e-06/0.5445, allocations: 4 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004847/0.545, allocations: 221.1 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5451, allocations: 51.41 kB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.5456, allocations: 0.5131 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.5456, allocations: 29.7 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.5457, allocations: 168.4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.5458, allocations: 35.53 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.5459, allocations: 69.97 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.546, allocations: 350.8 kB / 1.026 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.5462, allocations: 100.5 kB / 1.026 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.5464, allocations: 139.5 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.5467, allocations: 176 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5467, allocations: 4 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004988/0.5472, allocations: 317.1 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.5472, allocations: 11.94 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5472, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.5472, allocations: 0 / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.5475, allocations: 55.91 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5475, allocations: 4 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.5476, allocations: 19.83 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.5477, allocations: 16.05 kB / 1.027 GB, free: 8.863 MB / 0.7794 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.0001664/0.5478, allocations: 193.7 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/0.5479, allocations: 31.56 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.5479, allocations: 39.12 kB / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.548, allocations: 0 / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.548, allocations: 0 / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.548, allocations: 0 / 1.027 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.5482, allocations: 301.4 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5482, allocations: 0 / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.5483, allocations: 23.92 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5483, allocations: 3.938 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.5483, allocations: 0 / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5483, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5483, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.5487, allocations: 204.7 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.5487, allocations: 112.7 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.5488, allocations: 15.92 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.5489, allocations: 11.94 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.549, allocations: 23.91 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.549, allocations: 4 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003086/0.5493, allocations: 319.1 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5493, allocations: 0 / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002772/0.5496, allocations: 52 kB / 1.028 GB, free: 7.461 MB / 0.7794 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.001474/0.5511, allocations: 1.052 MB / 1.029 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.5515, allocations: 199.8 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5515, allocations: 0 / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.5516, allocations: 63.91 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.5521, allocations: 108 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.5556, allocations: 3.119 MB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5559, allocations: 0.7831 MB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.556, allocations: 54.92 kB / 1.033 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5562, allocations: 107.4 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.5562, allocations: 4 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.5795, allocations: 7.047 MB / 1.04 GB, free: 11.08 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.602, allocations: 17.11 kB / 1.04 GB, free: 11.07 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches