Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001828/0.001828, allocations: 115.1 kB / 17.08 MB, free: 5.793 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.002253/0.002253, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.532/1.532, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.118/3.118, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.9545, allocations: 163.8 MB / 1.263 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001718/0.9563, allocations: 0.6304 MB / 1.263 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000882/0.9572, allocations: 0.8204 MB / 1.264 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.9572, allocations: 4.719 kB / 1.264 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.9573, allocations: 3.938 kB / 1.264 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.9573, allocations: 1.312 kB / 1.264 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.9575, allocations: 19.48 kB / 1.264 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.137e-05/0.9576, allocations: 27.34 kB / 1.264 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.9577, allocations: 7.734 kB / 1.264 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.676e-05/0.9577, allocations: 16.94 kB / 1.264 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.9578, allocations: 15.64 kB / 1.264 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.9578, allocations: 2.438 kB / 1.264 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.9578, allocations: 1.594 kB / 1.264 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.9578, allocations: 5.953 kB / 1.264 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.9579, allocations: 12.06 kB / 1.264 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.958, allocations: 27.28 kB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.958, allocations: 0 / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.958, allocations: 0.8125 kB / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.958, allocations: 0 / 1.264 GB, free: 7.121 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003667/0.9584, allocations: 335.6 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.9584, allocations: 9.406 kB / 1.264 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.9584, allocations: 11.22 kB / 1.264 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.694e-05/0.9585, allocations: 163.6 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.9585, allocations: 5.219 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.9586, allocations: 1.188 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.9587, allocations: 51.94 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.9587, allocations: 192 / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.9588, allocations: 9.469 kB / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.9588, allocations: 0 / 1.265 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.959, allocations: 38.75 kB / 1.265 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.9592, allocations: 245.3 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.9594, allocations: 46.31 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.9595, allocations: 21.48 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.9595, allocations: 0 / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.9595, allocations: 45.02 kB / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.9596, allocations: 0 / 1.265 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.9599, allocations: 86.69 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.96, allocations: 52.19 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.632e-05/0.96, allocations: 97.3 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.96, allocations: 30.55 kB / 1.265 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.413e-05/0.9601, allocations: 89.7 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.9601, allocations: 9.156 kB / 1.265 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.9601, allocations: 14.08 kB / 1.265 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.9602, allocations: 316.8 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.9603, allocations: 15.22 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-05/0.9604, allocations: 27.12 kB / 1.266 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.9605, allocations: 42.52 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.9606, allocations: 0.875 kB / 1.266 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.9608, allocations: 73.22 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9608, allocations: 5.5 kB / 1.266 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9608, allocations: 4.609 kB / 1.266 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9608, allocations: 5.031 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.9609, allocations: 9.438 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9609, allocations: 1.578 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.961, allocations: 6.25 kB / 1.266 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.961, allocations: 4.641 kB / 1.266 GB, free: 5.395 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.601e-05/0.9611, allocations: 112 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.9611, allocations: 6.141 kB / 1.266 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.9611, allocations: 8.578 kB / 1.266 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.9611, allocations: 4.688 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.9611, allocations: 0 / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.9611, allocations: 1.703 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.9613, allocations: 160.1 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9613, allocations: 0 / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/0.9613, allocations: 9.734 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9614, allocations: 1.281 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9614, allocations: 0.8438 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9614, allocations: 0.75 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9614, allocations: 0.7812 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.9616, allocations: 168.7 kB / 1.266 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.9616, allocations: 82.48 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.9617, allocations: 1.531 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.9617, allocations: 5.969 kB / 1.266 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.9618, allocations: 9.078 kB / 1.266 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.9618, allocations: 0.6875 kB / 1.266 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.118e-05/0.9618, allocations: 88.48 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9618, allocations: 0.875 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002164/0.9621, allocations: 3.406 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.417e-05/0.9621, allocations: 96.67 kB / 1.267 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.9624, allocations: 42.14 kB / 1.267 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9624, allocations: 4.062 kB / 1.267 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.9625, allocations: 26.39 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.9628, allocations: 11.45 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.9631, allocations: 136.1 kB / 1.267 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/0.9632, allocations: 0.6754 MB / 1.267 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.9632, allocations: 11.62 kB / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9632, allocations: 0 / 1.268 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.003193/0.9664, allocations: 0.6046 MB / 1.268 GB, free: 3.742 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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: 11.579361075069755]