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.001721/0.001721, allocations: 111.3 kB / 17.6 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.002098/0.002098, allocations: 186.8 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.484/1.484, allocations: 225.6 MB / 249.4 MB, free: 3.199 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.827/2.827, allocations: 476.7 MB / 0.7629 GB, free: 15.15 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: "" <> 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.002186/0.002186, allocations: 71.88 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9214, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001769/0.9232, allocations: 0.6289 MB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.9241, allocations: 0.8262 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.9241, allocations: 0.9688 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.9241, allocations: 3.938 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.9242, allocations: 0.9062 kB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.9243, allocations: 19.27 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.9244, allocations: 27.5 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.9e-05/0.9245, allocations: 11.34 kB / 1.273 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.837e-05/0.9246, allocations: 15.03 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.9246, allocations: 11.27 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.9246, allocations: 2.156 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.347e-06/0.9246, allocations: 2.25 kB / 1.273 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.9247, allocations: 14.48 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.9247, allocations: 7.031 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.9248, allocations: 25.53 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9248, allocations: 0.5938 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9248, allocations: 0 / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.9248, allocations: 0.5 kB / 1.273 GB, free: 6.625 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.0004067/0.9252, allocations: 337.2 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.9252, allocations: 9.188 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.9253, allocations: 32.12 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.9253, allocations: 14.38 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.9254, allocations: 166.7 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.9254, allocations: 6.031 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.9254, allocations: 5.734 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.9256, allocations: 51.83 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9256, allocations: 7.938 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9256, allocations: 4.781 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9256, allocations: 0.8438 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.9258, allocations: 34.69 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.9261, allocations: 249 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.9263, allocations: 49.66 kB / 1.274 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.9264, allocations: 28.59 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.9264, allocations: 0.7812 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.9264, allocations: 32.28 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.9264, allocations: 0.7812 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004005/0.9268, allocations: 94.8 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.9268, allocations: 52.91 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.9269, allocations: 100.5 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.9269, allocations: 26.31 kB / 1.274 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.927, allocations: 86.52 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.927, allocations: 0.7812 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.927, allocations: 13.33 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.927, allocations: 317.5 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.9271, allocations: 19.27 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.372e-05/0.9272, allocations: 18.62 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.9274, allocations: 39.41 kB / 1.275 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9274, allocations: 4.75 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.9276, allocations: 77.19 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.9276, allocations: 5.312 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9276, allocations: 6.422 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9276, allocations: 0.9375 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.9278, allocations: 8.109 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.9278, allocations: 0.9062 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.9278, allocations: 6.828 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.9278, allocations: 1 kB / 1.275 GB, free: 4.852 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.306e-05/0.9279, allocations: 115.8 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.9279, allocations: 0.9688 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.9279, allocations: 10.45 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.9279, allocations: 0 / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.9279, allocations: 1.062 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9279, allocations: 0 / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.9281, allocations: 160.5 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9281, allocations: 4.906 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.9281, allocations: 9.984 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9281, allocations: 0 / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.9281, allocations: 5.031 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9281, allocations: 0.5938 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9281, allocations: 4.125 kB / 1.275 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.9284, allocations: 168.9 kB / 1.275 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.9284, allocations: 86.47 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.9284, allocations: 1.5 kB / 1.275 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.9285, allocations: 15.98 kB / 1.275 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.83e-05/0.9286, allocations: 7.766 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.9286, allocations: 0.875 kB / 1.275 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.9286, allocations: 79.83 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9286, allocations: 0 / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002171/0.9288, allocations: 3.469 kB / 1.276 GB, free: 4.184 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.0004548/0.9293, allocations: 0.6998 MB / 1.276 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.9295, allocations: 45.31 kB / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9295, allocations: 0 / 1.276 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.9296, allocations: 28.17 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.9299, allocations: 1.969 kB / 1.276 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.9304, allocations: 141.6 kB / 1.276 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.9305, allocations: 0.6776 MB / 1.277 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.073e-05/0.9305, allocations: 1.969 kB / 1.277 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.9306, allocations: 19.25 kB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.9306, allocations: 1.031 kB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08503/1.016, allocations: 1.427 MB / 1.278 GB, free: 18.27 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.753/9.769, allocations: 0.9688 kB / 1.278 GB, free: 18.27 MB / 1.014 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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] [Calling os._exit(0), Time elapsed: 16.056519053992815] Failed to read output from testmodel.py, exit status != 0: 9.83914396999171 9.861718669 8.93252132 Calling exit ...