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.001305/0.001305, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001324/0.001324, allocations: 186 kB / 20.78 MB, free: 1.539 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.416/1.416, allocations: 225.6 MB / 249.4 MB, free: 3.164 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.8/2.8, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8797, allocations: 168.7 MB / 1.271 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001732/0.8814, allocations: 0.6344 MB / 1.272 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.8823, allocations: 0.8259 MB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.8823, allocations: 3.938 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.8823, allocations: 4.781 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.8824, allocations: 1.438 kB / 1.273 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.8825, allocations: 18.12 kB / 1.273 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.8826, allocations: 28.33 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.8827, allocations: 12.08 kB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.8827, allocations: 13.66 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.641e-05/0.8828, allocations: 11.38 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.8828, allocations: 2.188 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.8828, allocations: 2.281 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.8829, allocations: 6.891 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.8829, allocations: 15.31 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.897e-05/0.883, allocations: 24.34 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.883, allocations: 0.75 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.883, allocations: 4 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.883, allocations: 0.7812 kB / 1.273 GB, free: 6.648 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.0003597/0.8833, allocations: 333.3 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.8834, allocations: 9.906 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/0.8834, allocations: 32.06 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.8834, allocations: 6.297 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.178e-05/0.8835, allocations: 167.2 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.8835, allocations: 1.156 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.8835, allocations: 6.062 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.8837, allocations: 59.48 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.8837, allocations: 4.547 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.8837, allocations: 0.75 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8837, allocations: 0.8125 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.8839, allocations: 34.94 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.8842, allocations: 248.6 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.8843, allocations: 42.8 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.109e-05/0.8844, allocations: 28.42 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.8844, allocations: 0 / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.8844, allocations: 32.22 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8844, allocations: 7.938 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003565/0.8848, allocations: 87.91 kB / 1.274 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.8848, allocations: 52.16 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.8848, allocations: 100.6 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.8848, allocations: 26.52 kB / 1.274 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.23e-05/0.8849, allocations: 85.48 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.8849, allocations: 2.094 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.8849, allocations: 16.92 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.8849, allocations: 313.8 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.885, allocations: 26.42 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.8851, allocations: 19.75 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.8853, allocations: 43.34 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8853, allocations: 3.938 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001924/0.8855, allocations: 69.34 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.8855, allocations: 7.641 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8855, allocations: 0 / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8855, allocations: 0.7812 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/0.8856, allocations: 8.469 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.8856, allocations: 0.9375 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.8856, allocations: 17.48 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.8856, allocations: 5.031 kB / 1.275 GB, free: 4.883 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.182e-05/0.8857, allocations: 114.9 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.8857, allocations: 0.9688 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.8857, allocations: 4.406 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8857, allocations: 4.891 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.8857, allocations: 0 / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8857, allocations: 1 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.8858, allocations: 172.6 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8858, allocations: 0 / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.8859, allocations: 9.047 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8859, allocations: 2.156 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.8859, allocations: 0.9062 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.8859, allocations: 0.5312 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8859, allocations: 0 / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.8861, allocations: 168.6 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.8861, allocations: 82.64 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.8862, allocations: 10.41 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.8862, allocations: 5.266 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.8863, allocations: 4.406 kB / 1.275 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.8863, allocations: 6.047 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.129e-05/0.8863, allocations: 80.44 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8863, allocations: 0 / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002276/0.8865, allocations: 8.312 kB / 1.276 GB, free: 4.219 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.0003654/0.8869, allocations: 0.6963 MB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.8871, allocations: 48.33 kB / 1.276 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8871, allocations: 0 / 1.276 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.124e-05/0.8872, allocations: 19.41 kB / 1.276 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.8875, allocations: 9.938 kB / 1.276 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.8879, allocations: 144.3 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.383e-05/0.8879, allocations: 0.6776 MB / 1.277 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.745e-05/0.888, allocations: 3.047 kB / 1.277 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.888, allocations: 16.08 kB / 1.277 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.888, allocations: 0 / 1.277 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.9104, allocations: 1.434 MB / 1.278 GB, free: 18.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.904, allocations: 11.62 kB / 1.279 GB, free: 18.29 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" Variables in the reference:time,reaToInt.u,reaToInt.y Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,time [Calling sys.exit(0), Time elapsed: 14.836491630005185]