Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001789/0.001789, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002226/0.002226, allocations: 191.8 kB / 22.1 MB, free: 4.223 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.612/1.612, allocations: 225.6 MB / 250.8 MB, free: 2.926 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.096/3.096, allocations: 495.8 MB / 0.7831 GB, free: 12.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.91 kB / 1.137 GB, free: 12.3 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.279, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002059/1.281, allocations: 0.6245 MB / 1.307 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009664/1.282, allocations: 0.8297 MB / 1.308 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/1.282, allocations: 0 / 1.308 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/1.282, allocations: 3.938 kB / 1.308 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.629e-05/1.282, allocations: 4 kB / 1.308 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/1.283, allocations: 17.09 kB / 1.308 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.725e-05/1.283, allocations: 22.89 kB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/1.283, allocations: 15.53 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/1.283, allocations: 13.34 kB / 1.308 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/1.283, allocations: 12.38 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/1.283, allocations: 0 / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/1.283, allocations: 2.844 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/1.283, allocations: 6.688 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/1.283, allocations: 7.281 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/1.283, allocations: 31.73 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.283, allocations: 4 kB / 1.308 GB, free: 32.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.474e-06/1.283, allocations: 3.938 kB / 1.308 GB, free: 32.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.283, allocations: 2.625 kB / 1.308 GB, free: 32.7 MB / 1.061 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.0005105/1.284, allocations: 262 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.284, allocations: 8.688 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/1.284, allocations: 4.891 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.8e-05/1.284, allocations: 105.1 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/1.284, allocations: 3.562 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/1.284, allocations: 7.062 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.284, allocations: 52.69 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.284, allocations: 192 / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.284, allocations: 3.938 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.284, allocations: 6.406 kB / 1.309 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/1.284, allocations: 38 kB / 1.309 GB, free: 32.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/1.285, allocations: 222.5 kB / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/1.285, allocations: 43.16 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/1.285, allocations: 24.56 kB / 1.309 GB, free: 31.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/1.285, allocations: 7 kB / 1.309 GB, free: 31.96 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/1.285, allocations: 30.56 kB / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.285, allocations: 0 / 1.309 GB, free: 31.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004106/1.286, allocations: 86.5 kB / 1.309 GB, free: 31.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.286, allocations: 53.69 kB / 1.309 GB, free: 31.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/1.286, allocations: 100.1 kB / 1.309 GB, free: 31.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.286, allocations: 28.45 kB / 1.309 GB, free: 31.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/1.286, allocations: 88.03 kB / 1.309 GB, free: 31.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/1.286, allocations: 3.406 kB / 1.309 GB, free: 31.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/1.286, allocations: 20.75 kB / 1.309 GB, free: 31.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/1.286, allocations: 313.8 kB / 1.31 GB, free: 31.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.846e-05/1.286, allocations: 22.83 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/1.286, allocations: 12.5 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/1.286, allocations: 45.28 kB / 1.31 GB, free: 31.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.286, allocations: 0 / 1.31 GB, free: 31.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/1.286, allocations: 78.27 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.286, allocations: 6.062 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.286, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.286, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/1.286, allocations: 9.359 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.286, allocations: 0 / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/1.286, allocations: 13.09 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/1.286, allocations: 3.938 kB / 1.31 GB, free: 31.18 MB / 1.061 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 6.313e-05/1.287, allocations: 120.3 kB / 1.31 GB, free: 31.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/1.287, allocations: 192 / 1.31 GB, free: 31.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.134e-05/1.287, allocations: 10.72 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.287, allocations: 6.688 kB / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.287, allocations: 0 / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.287, allocations: 0 / 1.31 GB, free: 31.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/1.287, allocations: 133 kB / 1.31 GB, free: 30.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.287, allocations: 4 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.656e-05/1.287, allocations: 9.5 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.287, allocations: 0 / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/1.287, allocations: 0 / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/1.287, allocations: 2.938 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.287, allocations: 0 / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/1.287, allocations: 172.4 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/1.287, allocations: 6.828 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.287, allocations: 0 / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/1.287, allocations: 10 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/1.287, allocations: 11 kB / 1.31 GB, free: 30.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.287, allocations: 3.703 kB / 1.31 GB, free: 30.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.698e-05/1.287, allocations: 82.25 kB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.287, allocations: 3.031 kB / 1.31 GB, free: 30.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000208/1.287, allocations: 2.906 kB / 1.31 GB, free: 30.64 MB / 1.061 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 9.639e-05/1.288, allocations: 97.81 kB / 1.311 GB, free: 30.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00025/1.288, allocations: 41 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.288, allocations: 0 / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/1.288, allocations: 18.91 kB / 1.311 GB, free: 30.54 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/1.288, allocations: 10.94 kB / 1.311 GB, free: 30.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/1.289, allocations: 117.8 kB / 1.311 GB, free: 30.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/1.289, allocations: 0.6784 MB / 1.311 GB, free: 29.72 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.114e-05/1.289, allocations: 0 / 1.311 GB, free: 29.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/1.289, allocations: 10.41 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of SimCode: time 4.61e-07/1.289, allocations: 0 / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of Templates: time 0.003331/1.292, allocations: 0.613 MB / 1.312 GB, free: 29.63 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.4141700072214]