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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008624/0.0008626, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.005669/0.005669, allocations: 171 kB / 16.27 MB, free: 6.652 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 8 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5804, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.001943/0.5824, allocations: 1.711 MB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00157/0.5839, allocations: 1.159 MB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.584, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.5844, allocations: 151.6 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.5846, allocations: 143.5 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.585, allocations: 203.4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.5853, allocations: 287.2 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.5855, allocations: 52.22 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.5856, allocations: 131.3 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.5858, allocations: 139.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.5858, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.586, allocations: 51.91 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.586, allocations: 75.73 kB / 1.027 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.5861, allocations: 140.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.5865, allocations: 348.9 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5865, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5865, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.5865, allocations: 3.938 kB / 1.028 GB, free: 11.27 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.0007431/0.5872, allocations: 0.5721 MB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5873, allocations: 12.03 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.5873, allocations: 34.75 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.5874, allocations: 32.56 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.5878, allocations: 381.9 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.5878, allocations: 4 kB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.5879, allocations: 12 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.5881, allocations: 105.6 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.5881, allocations: 0 / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5881, allocations: 8 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5881, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.5883, allocations: 59.95 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.589, allocations: 0.5003 MB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.5893, allocations: 134.7 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.5894, allocations: 52.83 kB / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.5894, allocations: 0 / 1.029 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.5896, allocations: 115.3 kB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.5896, allocations: 0 / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004567/0.5901, allocations: 227.1 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.5901, allocations: 51.41 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.5906, allocations: 0.5131 MB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.5907, allocations: 29.7 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.5908, allocations: 172.4 kB / 1.031 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.5908, allocations: 35.56 kB / 1.031 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.5909, allocations: 41.69 kB / 1.031 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.591, allocations: 338.8 kB / 1.031 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.5911, allocations: 104.5 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.5913, allocations: 131.6 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.5916, allocations: 186.4 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5917, allocations: 0 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004674/0.5921, allocations: 318.6 kB / 1.032 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5921, allocations: 11.92 kB / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5922, allocations: 0 / 1.032 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.5922, allocations: 4 kB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5924, allocations: 55.97 kB / 1.032 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.5924, allocations: 4 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.5925, allocations: 19.84 kB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.5926, allocations: 11.98 kB / 1.032 GB, free: 6.801 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.0001559/0.5927, allocations: 182.2 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.5928, allocations: 35.56 kB / 1.032 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.5928, allocations: 35.12 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5928, allocations: 0 / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5929, allocations: 4 kB / 1.032 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5929, allocations: 3.984 kB / 1.032 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.5931, allocations: 297.5 kB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5931, allocations: 0 / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.5932, allocations: 15.97 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5932, allocations: 7.938 kB / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.5932, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5932, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5932, allocations: 0 / 1.032 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.5936, allocations: 212.5 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.5936, allocations: 124.6 kB / 1.033 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.5937, allocations: 7.938 kB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5938, allocations: 11.98 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.5939, allocations: 19.97 kB / 1.033 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.5939, allocations: 8 kB / 1.033 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000295/0.5942, allocations: 315.1 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5942, allocations: 0 / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002566/0.5944, allocations: 56 kB / 1.033 GB, free: 5.398 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.001355/0.5958, allocations: 1.059 MB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003549/0.5962, allocations: 199 kB / 1.034 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5962, allocations: 4 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.5963, allocations: 59.91 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.5967, allocations: 76.91 kB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.6003, allocations: 3.179 MB / 1.037 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.6006, allocations: 0.787 MB / 1.038 GB, free: 60 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.6007, allocations: 54.95 kB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.6009, allocations: 103.4 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.6009, allocations: 0 / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.543/5.144, allocations: 6.52 MB / 1.045 GB, free: 9.547 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/5.145, allocations: 237.9 kB / 1.045 GB, free: 9.297 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/8.268, allocations: 0 / 1.045 GB, free: 9.297 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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