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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 105.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 443.5 MB / 0.7287 GB, free: 14.65 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.056 GB, free: 2.555 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 160.7 MB / 1.213 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003999/0.347, allocations: 2.016 MB / 1.215 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002507/0.3495, allocations: 1.205 MB / 1.216 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.3496, allocations: 7.938 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.3501, allocations: 155.4 kB / 1.216 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3505, allocations: 163.4 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.3511, allocations: 219.1 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.3515, allocations: 315.2 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3517, allocations: 36.61 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.352, allocations: 159.4 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.3522, allocations: 151.5 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.3523, allocations: 19.98 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.3524, allocations: 59.92 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.3525, allocations: 95.66 kB / 1.217 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3527, allocations: 119.2 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.3531, allocations: 370.4 kB / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3531, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3531, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.3531, allocations: 0 / 1.218 GB, free: 12.44 MB / 0.9669 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.001108/0.3542, allocations: 0.6416 MB / 1.218 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3543, allocations: 19.97 kB / 1.218 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.3543, allocations: 38.73 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.3544, allocations: 32.75 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.355, allocations: 374.2 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.355, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.355, allocations: 12 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3553, allocations: 115.2 kB / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3553, allocations: 0 / 1.219 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3553, allocations: 8 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3553, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3555, allocations: 55.97 kB / 1.219 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008832/0.3564, allocations: 0.4887 MB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.3567, allocations: 138.6 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3568, allocations: 40.84 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3569, allocations: 0 / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.3571, allocations: 127.1 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.3571, allocations: 0 / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005955/0.3577, allocations: 229.1 kB / 1.22 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.3578, allocations: 51.41 kB / 1.22 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.3584, allocations: 0.5132 MB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3584, allocations: 25.7 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.3586, allocations: 164.5 kB / 1.221 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.3586, allocations: 39.73 kB / 1.221 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.3588, allocations: 69.92 kB / 1.221 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.359, allocations: 346.8 kB / 1.221 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3592, allocations: 100.5 kB / 1.221 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3594, allocations: 139.5 kB / 1.221 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3598, allocations: 176 kB / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3598, allocations: 4 kB / 1.222 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005773/0.3604, allocations: 325.3 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3604, allocations: 7.938 kB / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.3604, allocations: 7.984 kB / 1.222 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3604, allocations: 0 / 1.222 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.3606, allocations: 51.91 kB / 1.222 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3606, allocations: 0 / 1.222 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.3608, allocations: 23.88 kB / 1.222 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.3608, allocations: 12 kB / 1.222 GB, free: 7.871 MB / 0.9669 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.0002263/0.3611, allocations: 189.8 kB / 1.222 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.3611, allocations: 39.7 kB / 1.222 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.3612, allocations: 35.12 kB / 1.222 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3612, allocations: 4 kB / 1.222 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3612, allocations: 0 / 1.222 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3612, allocations: 0 / 1.222 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.3615, allocations: 301.4 kB / 1.223 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3615, allocations: 0 / 1.223 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-05/0.3616, allocations: 11.94 kB / 1.223 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3616, allocations: 7.922 kB / 1.223 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3616, allocations: 12 kB / 1.223 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3616, allocations: 0 / 1.223 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3616, allocations: 0 / 1.223 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.362, allocations: 208.8 kB / 1.223 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3622, allocations: 116.8 kB / 1.223 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3622, allocations: 4 kB / 1.223 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3623, allocations: 7.984 kB / 1.223 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.3624, allocations: 27.97 kB / 1.223 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3624, allocations: 4 kB / 1.223 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003918/0.3628, allocations: 319.1 kB / 1.223 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3628, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003155/0.3631, allocations: 59.89 kB / 1.223 GB, free: 6.461 MB / 0.9669 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.002261/0.3654, allocations: 1.061 MB / 1.224 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.3658, allocations: 195.7 kB / 1.225 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3658, allocations: 3.938 kB / 1.225 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.366, allocations: 55.97 kB / 1.225 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.3664, allocations: 91.34 kB / 1.225 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004435/0.3709, allocations: 3.124 MB / 1.228 GB, free: 2 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.3714, allocations: 0.787 MB / 1.229 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.3715, allocations: 54.95 kB / 1.229 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.3717, allocations: 107.4 kB / 1.229 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of SimCode: time 1.052e-06/0.3717, allocations: 3.938 kB / 1.229 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.4078, allocations: 7.191 MB / 1.236 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/8.973, allocations: 6.797 kB / 1.236 GB, free: 9.926 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.181644892320037]