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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 81.08 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002188/0.002188, allocations: 162.4 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.897/2.897, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 3.166e-06/3.166e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.777e-05, allocations: 6.219 kB / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001801/0.001839, allocations: 0.6286 MB / 1.001 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002952, allocations: 0.8431 MB / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.00299, allocations: 0 / 1.002 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.003018, allocations: 4 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.003076, allocations: 3.938 kB / 1.002 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.003225, allocations: 19.91 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.003302, allocations: 27.92 kB / 1.002 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.003393, allocations: 4 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.014e-05/0.003473, allocations: 15.98 kB / 1.002 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.003524, allocations: 11.92 kB / 1.002 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.003548, allocations: 4 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.003556, allocations: 0 / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.003576, allocations: 11.98 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.003596, allocations: 0 / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 8.696e-05/0.003683, allocations: 27.95 kB / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003685, allocations: 0 / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003686, allocations: 0 / 1.002 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.003689, allocations: 7.938 kB / 1.002 GB, free: 5.66 MB / 0.9512 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.0004573/0.004147, allocations: 258.3 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.004182, allocations: 15.97 kB / 1.002 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.004209, allocations: 0.9375 kB / 1.002 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.004319, allocations: 109.8 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.004341, allocations: 4.375 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.004353, allocations: 384 / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.004536, allocations: 50.23 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.004545, allocations: 192 / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004556, allocations: 8.375 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.00456, allocations: 384 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.004747, allocations: 43.89 kB / 1.002 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.005091, allocations: 200.5 kB / 1.002 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.00524, allocations: 34.56 kB / 1.002 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.005341, allocations: 28.89 kB / 1.002 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.005361, allocations: 4 kB / 1.002 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.005389, allocations: 30.56 kB / 1.002 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 5.56e-06/0.005394, allocations: 3.984 kB / 1.002 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.000393/0.005787, allocations: 97.47 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.005827, allocations: 51.41 kB / 1.003 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.005913, allocations: 105.8 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.005931, allocations: 25.7 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.005982, allocations: 88.08 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.005999, allocations: 8.078 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.006036, allocations: 13.72 kB / 1.003 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.006172, allocations: 318.8 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.006267, allocations: 19.97 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.006349, allocations: 15.98 kB / 1.003 GB, free: 3.988 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.006534, allocations: 44.81 kB / 1.003 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006536, allocations: 4.062 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002206/0.006756, allocations: 69.59 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.00677, allocations: 4 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.006775, allocations: 3.938 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.006789, allocations: 0 / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.006894, allocations: 11.98 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.006898, allocations: 0 / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.006954, allocations: 7.938 kB / 1.003 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.006963, allocations: 8.016 kB / 1.003 GB, free: 3.828 MB / 0.9512 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.487e-05/0.007048, allocations: 114.4 kB / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.007072, allocations: 0 / 1.003 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.007096, allocations: 7.25 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007098, allocations: 0 / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.007101, allocations: 4 kB / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007103, allocations: 0 / 1.003 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.007242, allocations: 105.3 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007243, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.007318, allocations: 11.98 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.00732, allocations: 4 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.007328, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.007331, allocations: 3.938 kB / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007332, allocations: 0 / 1.004 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.007609, allocations: 167.4 kB / 1.004 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.007616, allocations: 4 kB / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.007628, allocations: 0 / 1.004 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.007719, allocations: 11.92 kB / 1.004 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.007778, allocations: 16.02 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.007784, allocations: 4 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.007828, allocations: 79.28 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.007828, allocations: 0 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002208/0.008048, allocations: 4 kB / 1.004 GB, free: 3.242 MB / 0.9512 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.0001051/0.008154, allocations: 91.25 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.008396, allocations: 47.89 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.008397, allocations: 8 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.008501, allocations: 23.97 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.008797, allocations: 4 kB / 1.004 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.009153, allocations: 109.8 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.731e-05/0.009221, allocations: 59.34 kB / 1.004 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.177e-05/0.009252, allocations: 8.062 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.009288, allocations: 8.5 kB / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.009288, allocations: 0 / 1.004 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of Templates: time 0.003464/0.01275, allocations: 0.6498 MB / 1.005 GB, free: 2.191 MB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.385281044989824]