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.001039/0.001039, allocations: 111.9 kB / 15.61 MB, free: 128 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.00125/0.00125, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.48/2.48, allocations: 437.1 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.89 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6002/0.6015, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003427/0.6049, allocations: 1.997 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001998/0.607, allocations: 1.201 MB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.6071, allocations: 4 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.6076, allocations: 163.4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.608, allocations: 159.4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.6085, allocations: 226.9 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.6089, allocations: 303.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.6091, allocations: 60.27 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000242/0.6093, allocations: 135.5 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.6096, allocations: 151.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.6096, allocations: 12 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.6098, allocations: 55.97 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.6099, allocations: 87.73 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.61, allocations: 131.1 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.6104, allocations: 365 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.6104, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6104, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6104, allocations: 4 kB / 1.022 GB, free: 13.43 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.0009816/0.6114, allocations: 0.6147 MB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.6115, allocations: 8.031 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.6115, allocations: 46.67 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.964e-05/0.6116, allocations: 32.47 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.6121, allocations: 378 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.6121, allocations: 8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.6121, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.6124, allocations: 115.4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.6124, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.6124, allocations: 3.984 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6125, allocations: 3.938 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.6126, allocations: 55.97 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007953/0.6134, allocations: 0.5004 MB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.6138, allocations: 130.7 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.6139, allocations: 52.83 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.614, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.6142, allocations: 123.4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.6142, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005541/0.6148, allocations: 221.1 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.6148, allocations: 51.41 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/0.6154, allocations: 0.5092 MB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.6155, allocations: 33.69 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.6156, allocations: 168.4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.6157, allocations: 39.53 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6158, allocations: 65.97 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6159, allocations: 346.8 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.6161, allocations: 100.5 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.6163, allocations: 131.6 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.6167, allocations: 180 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6167, allocations: 0 / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005683/0.6173, allocations: 329.1 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6173, allocations: 7.938 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6173, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.6174, allocations: 4.062 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6176, allocations: 55.91 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.6176, allocations: 3.938 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.6178, allocations: 27.83 kB / 1.027 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.6178, allocations: 8 kB / 1.027 GB, free: 8.875 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.0001797/0.618, allocations: 181.7 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.6181, allocations: 39.55 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.6181, allocations: 31.12 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6182, allocations: 4 kB / 1.027 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6182, allocations: 4 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.6182, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.6185, allocations: 301.4 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6185, allocations: 0 / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.6185, allocations: 11.94 kB / 1.027 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6186, allocations: 7.922 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.6186, allocations: 7.984 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6186, allocations: 4 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6186, allocations: 0 / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.619, allocations: 209.9 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.6191, allocations: 116.7 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.6191, allocations: 3.938 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.6192, allocations: 15.92 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.6193, allocations: 15.98 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.6193, allocations: 7.984 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003229/0.6197, allocations: 319.1 kB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6197, allocations: 0 / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003032/0.62, allocations: 60 kB / 1.028 GB, free: 7.473 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.001572/0.6215, allocations: 1.055 MB / 1.029 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004339/0.622, allocations: 206.4 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.622, allocations: 0 / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6222, allocations: 59.97 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.6226, allocations: 88.53 kB / 1.029 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.6265, allocations: 3.126 MB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.6269, allocations: 0.787 MB / 1.033 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.6271, allocations: 54.94 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.6273, allocations: 107.4 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6273, allocations: 0 / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/0.8316, allocations: 7.039 MB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.352/9.184, allocations: 19.52 kB / 1.04 GB, free: 11.09 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