Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002244/0.002244, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002604/0.002604, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.576/1.576, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.954/2.954, allocations: 476.7 MB / 0.7628 GB, free: 15.32 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 63.91 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384/1.387, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001967/1.389, allocations: 0.6201 MB / 1.273 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009769/1.39, allocations: 0.832 MB / 1.273 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/1.39, allocations: 4.719 kB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/1.39, allocations: 4.719 kB / 1.273 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.449e-05/1.39, allocations: 4.75 kB / 1.273 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/1.39, allocations: 14.59 kB / 1.273 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.85e-05/1.39, allocations: 26.47 kB / 1.273 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/1.39, allocations: 7.5 kB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/1.39, allocations: 14.09 kB / 1.273 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/1.39, allocations: 12.22 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/1.39, allocations: 1.719 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/1.39, allocations: 2.438 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/1.39, allocations: 13.98 kB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/1.39, allocations: 11.7 kB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/1.391, allocations: 22.72 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.391, allocations: 0.75 kB / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.794e-06/1.391, allocations: 0 / 1.273 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.391, allocations: 0 / 1.273 GB, free: 6.84 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.0004344/1.391, allocations: 336.3 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.391, allocations: 9.562 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/1.391, allocations: 6.234 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.391, allocations: 167.7 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/1.391, allocations: 1.469 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/1.391, allocations: 5.094 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/1.391, allocations: 56.38 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/1.391, allocations: 192 / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/1.391, allocations: 4.781 kB / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/1.391, allocations: 0 / 1.274 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/1.392, allocations: 39.83 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/1.392, allocations: 252.8 kB / 1.274 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/1.392, allocations: 46.25 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/1.392, allocations: 24.3 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/1.392, allocations: 0 / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.392, allocations: 40.17 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/1.392, allocations: 1.25 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000408/1.393, allocations: 89.45 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/1.393, allocations: 52.25 kB / 1.275 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/1.393, allocations: 103.1 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/1.393, allocations: 25.7 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/1.393, allocations: 91.31 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/1.393, allocations: 4 kB / 1.275 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/1.393, allocations: 13.39 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/1.393, allocations: 314.9 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/1.393, allocations: 17.92 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/1.393, allocations: 18.69 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.393, allocations: 45.44 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.393, allocations: 0.75 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/1.393, allocations: 71.8 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.393, allocations: 5.062 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.393, allocations: 0 / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.393, allocations: 8.719 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.394, allocations: 15.89 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.394, allocations: 0 / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/1.394, allocations: 5.031 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.394, allocations: 0.875 kB / 1.275 GB, free: 5.117 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 5.759e-05/1.394, allocations: 115.9 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/1.394, allocations: 1.75 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/1.394, allocations: 5.203 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/1.394, allocations: 0 / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.394, allocations: 4.719 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.394, allocations: 0.9375 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/1.394, allocations: 160.7 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.394, allocations: 0.75 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/1.394, allocations: 13.08 kB / 1.276 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.394, allocations: 5.531 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.394, allocations: 0 / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.394, allocations: 1.703 kB / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.394, allocations: 0 / 1.276 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/1.394, allocations: 169.5 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.351e-05/1.394, allocations: 91.5 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.394, allocations: 1.125 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/1.394, allocations: 5.234 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/1.394, allocations: 5.625 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/1.394, allocations: 1.156 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.836e-05/1.394, allocations: 92.64 kB / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.394, allocations: 0 / 1.276 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002136/1.395, allocations: 3.812 kB / 1.276 GB, free: 4.449 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 0.0001041/1.395, allocations: 96.59 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002389/1.395, allocations: 41.56 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.395, allocations: 0.8438 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/1.395, allocations: 30.16 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/1.395, allocations: 7.859 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/1.396, allocations: 113.9 kB / 1.276 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/1.396, allocations: 0.6753 MB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.338e-05/1.396, allocations: 2.438 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/1.396, allocations: 14.52 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/1.396, allocations: 0 / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.003292/1.399, allocations: 0.6064 MB / 1.277 GB, free: 3.445 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.337729497812688]