Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001446/0.001446, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.001448/0.001448, allocations: 218.9 kB / 23.02 MB, free: 2.961 MB / 13.93 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 0.9468/0.9468, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.01/2.01, allocations: 0.5045 GB / 0.8104 GB, free: 2.734 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 63.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.801/0.8021, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001513/0.8036, allocations: 0.6229 MB / 1.353 GB, free: 1.062 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0008695/0.8044, allocations: 0.8432 MB / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.8045, allocations: 0 / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.8045, allocations: 0 / 1.354 GB, free: 212 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.772e-05/0.8046, allocations: 11.94 kB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.8047, allocations: 15.98 kB / 1.354 GB, free: 184 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.8048, allocations: 27.92 kB / 1.354 GB, free: 156 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.8049, allocations: 4 kB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.805, allocations: 15.92 kB / 1.354 GB, free: 136 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.8051, allocations: 11.98 kB / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.8051, allocations: 0 / 1.354 GB, free: 124 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.8051, allocations: 4 kB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.8051, allocations: 3.938 kB / 1.354 GB, free: 116 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.8051, allocations: 11.98 kB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 9.488e-05/0.8052, allocations: 26.14 kB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8052, allocations: 4 kB / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8052, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8052, allocations: 0 / 1.354 GB, free: 76 kB / 1.026 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.0003826/0.8056, allocations: 258.4 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.8057, allocations: 8.922 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.8057, allocations: 42.67 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.8057, allocations: 12.89 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.646e-05/0.8058, allocations: 102.5 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.8058, allocations: 384 / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.8059, allocations: 4.375 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.806, allocations: 54.23 kB / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.806, allocations: 3.938 kB / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.806, allocations: 0 / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.806, allocations: 0 / 1.354 GB, free: 15.53 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.8061, allocations: 35.95 kB / 1.354 GB, free: 15.49 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.8064, allocations: 231.9 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.8065, allocations: 46.48 kB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.8065, allocations: 16.91 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.8065, allocations: 7.984 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.8065, allocations: 34.56 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.8065, allocations: 0 / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0002257/0.8068, allocations: 89.53 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.8068, allocations: 59.33 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.8069, allocations: 102 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.8069, allocations: 25.7 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.8069, allocations: 84.14 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.8069, allocations: 0 / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003028/0.8072, allocations: 17.7 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.8073, allocations: 314.8 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.8073, allocations: 15.98 kB / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.8074, allocations: 19.97 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.8074, allocations: 40.89 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8075, allocations: 7.938 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001097/0.8076, allocations: 77.55 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8076, allocations: 4 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.8076, allocations: 0 / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8076, allocations: 0 / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-05/0.8077, allocations: 16.02 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8077, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.8077, allocations: 7.984 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.8077, allocations: 0 / 1.356 GB, free: 14.17 MB / 1.042 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.358e-05/0.8078, allocations: 110.3 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.8078, allocations: 4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.8078, allocations: 7.312 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.8078, allocations: 0 / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8078, allocations: 0 / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.8078, allocations: 3.984 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.8079, allocations: 132.7 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8079, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.8079, allocations: 7.984 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.8079, allocations: 0 / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8079, allocations: 4 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.8079, allocations: 0 / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8079, allocations: 7.984 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.8081, allocations: 167.4 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.8081, allocations: 11.98 kB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.8081, allocations: 0 / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.8081, allocations: 11.92 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.8082, allocations: 7.938 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.8082, allocations: 4 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.8082, allocations: 79.27 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8082, allocations: 4 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001393/0.8084, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 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.0003414/0.8087, allocations: 0.7007 MB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.8088, allocations: 43.95 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8088, allocations: 0 / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.412e-05/0.8089, allocations: 23.97 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.8091, allocations: 5.719 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.8095, allocations: 143.4 kB / 1.357 GB, free: 12.57 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.8095, allocations: 59.34 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.8096, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.8096, allocations: 15.44 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of SimCode: time 7.92e-07/0.8096, allocations: 0 / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/0.9226, allocations: 1.987 MB / 1.359 GB, free: 10.63 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.383, allocations: 5.906 kB / 1.359 GB, free: 10.63 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.372741620987654]