Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001742/0.001742, allocations: 111.8 kB / 17.08 MB, free: 5.941 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.001911/0.001912, allocations: 191.7 kB / 20.03 MB, free: 3.02 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.761/2.761, allocations: 437.1 MB / 0.7177 GB, free: 4.531 MB / 0.5606 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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001726/0.3521, allocations: 0.6114 MB / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.3532, allocations: 0.8394 MB / 1.177 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.3532, allocations: 3.938 kB / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.3532, allocations: 0 / 1.177 GB, free: 4.395 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.3533, allocations: 7.938 kB / 1.177 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.3534, allocations: 15.97 kB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.3535, allocations: 23.94 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.574e-05/0.3536, allocations: 3.984 kB / 1.177 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.3537, allocations: 8 kB / 1.177 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.3537, allocations: 15.92 kB / 1.177 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.3538, allocations: 4 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3538, allocations: 8 kB / 1.177 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3538, allocations: 3.984 kB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.3538, allocations: 11.92 kB / 1.177 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.946e-05/0.3539, allocations: 31.78 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3539, allocations: 4 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3539, allocations: 0 / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3539, allocations: 0 / 1.177 GB, free: 4.258 MB / 0.92 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.0004914/0.3544, allocations: 331.5 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3545, allocations: 16.03 kB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.3545, allocations: 4.922 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3547, allocations: 168.3 kB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3547, allocations: 4.375 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.3547, allocations: 384 / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3549, allocations: 50.23 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3549, allocations: 192 / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3549, allocations: 3.938 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3549, allocations: 0 / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3551, allocations: 43.89 kB / 1.178 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3555, allocations: 253 kB / 1.178 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3556, allocations: 46.48 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.3557, allocations: 16.91 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.3558, allocations: 8 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3558, allocations: 34.56 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3558, allocations: 0 / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003812/0.3562, allocations: 85.58 kB / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3562, allocations: 51.41 kB / 1.178 GB, free: 2.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.3563, allocations: 102.1 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3564, allocations: 37.64 kB / 1.179 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.3564, allocations: 80.14 kB / 1.179 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3564, allocations: 3.953 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.3565, allocations: 17.7 kB / 1.179 GB, free: 2.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3566, allocations: 314.8 kB / 1.179 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.3567, allocations: 11.98 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.3568, allocations: 31.91 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.357, allocations: 40.77 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.357, allocations: 0 / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002133/0.3572, allocations: 73.59 kB / 1.179 GB, free: 2.238 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3572, allocations: 6.344 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3573, allocations: 144 / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3573, allocations: 11.98 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.916e-05/0.3574, allocations: 7.984 kB / 1.179 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3574, allocations: 0 / 1.179 GB, free: 2.215 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.3575, allocations: 11.94 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.3575, allocations: 0 / 1.179 GB, free: 2.203 MB / 0.92 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 8.351e-05/0.3576, allocations: 113.8 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.3576, allocations: 0 / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.3576, allocations: 7.125 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3576, allocations: 8 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3576, allocations: 0 / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3576, allocations: 0 / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.3578, allocations: 165.5 kB / 1.179 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3578, allocations: 0 / 1.179 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.713e-05/0.3579, allocations: 19.92 kB / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.3579, allocations: 0 / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.3579, allocations: 0 / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3579, allocations: 0 / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3579, allocations: 0 / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.3582, allocations: 167.5 kB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.3583, allocations: 81.11 kB / 1.18 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.3583, allocations: 3.984 kB / 1.18 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.3584, allocations: 4 kB / 1.18 GB, free: 1.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3584, allocations: 7.984 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3584, allocations: 8.031 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.001e-05/0.3585, allocations: 79.22 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3585, allocations: 0 / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002131/0.3587, allocations: 4 kB / 1.18 GB, free: 1.453 MB / 0.92 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 0.0001241/0.3588, allocations: 107.2 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.3591, allocations: 35.91 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3591, allocations: 4.062 kB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.746e-05/0.3592, allocations: 27.97 kB / 1.18 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.3595, allocations: 3.938 kB / 1.18 GB, free: 1.266 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.3598, allocations: 131.1 kB / 1.18 GB, free: 1.105 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3601, allocations: 0.6768 MB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.3601, allocations: 15.38 kB / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3601, allocations: 0 / 1.181 GB, free: 396 kB / 0.92 GB Notification: Performance of Templates: time 0.002151/0.3623, allocations: 0.5995 MB / 1.181 GB, free: 15.79 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.441771668964066]