Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001225/0.001225, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.00242/0.00242, allocations: 215.3 kB / 23.04 MB, free: 5.07 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.214/3.214, allocations: 0.5003 GB / 0.8061 GB, free: 26.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 64.81 kB / 1.171 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3955, allocations: 179 MB / 1.345 GB, free: 444 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002/0.3975, allocations: 0.6385 MB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3986, allocations: 0.8553 MB / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.3986, allocations: 0 / 1.347 GB, free: 14.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.3987, allocations: 3.938 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.3987, allocations: 0 / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.3989, allocations: 15.92 kB / 1.347 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.3989, allocations: 27.97 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.399, allocations: 11.94 kB / 1.347 GB, free: 14.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.3991, allocations: 11.98 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.3992, allocations: 19.86 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3992, allocations: 0 / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.3992, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.3992, allocations: 4 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.3992, allocations: 15.92 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.3993, allocations: 24.17 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3994, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3994, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3994, allocations: 0 / 1.347 GB, free: 14.79 MB / 1.045 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.0004992/0.3999, allocations: 266.3 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3999, allocations: 8.031 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/0.3999, allocations: 192 / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.3999, allocations: 34.69 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.4, allocations: 4.938 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4001, allocations: 110.5 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4001, allocations: 4.375 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4001, allocations: 384 / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4003, allocations: 69.89 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4003, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4004, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4004, allocations: 0 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.4006, allocations: 35.95 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.401, allocations: 220 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.4011, allocations: 50.48 kB / 1.348 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.4012, allocations: 20.91 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.4012, allocations: 3.938 kB / 1.348 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4012, allocations: 34.56 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4012, allocations: 0 / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.00038/0.4016, allocations: 89.62 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.4017, allocations: 51.41 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.685e-05/0.4018, allocations: 97.86 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.4018, allocations: 25.7 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.4018, allocations: 84.14 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4018, allocations: 7.938 kB / 1.348 GB, free: 13.42 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.4019, allocations: 21.84 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.402, allocations: 310.8 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.4021, allocations: 11.98 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.4022, allocations: 27.91 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4024, allocations: 40.77 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4024, allocations: 4.062 kB / 1.348 GB, free: 13 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.4026, allocations: 69.66 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4026, allocations: 4 kB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4026, allocations: 0 / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4026, allocations: 0 / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4027, allocations: 11.98 kB / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4027, allocations: 0 / 1.349 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.4028, allocations: 7.984 kB / 1.349 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.4028, allocations: 4.031 kB / 1.349 GB, free: 12.89 MB / 1.045 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 8.212e-05/0.4029, allocations: 121.7 kB / 1.349 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.4029, allocations: 3.953 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.4029, allocations: 11.3 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4029, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4029, allocations: 4 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4029, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.4031, allocations: 136.6 kB / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4031, allocations: 0 / 1.349 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.4032, allocations: 15.98 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4032, allocations: 4 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4032, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4032, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4032, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.4034, allocations: 171.4 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.4035, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.4035, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.4035, allocations: 4 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4036, allocations: 15.86 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4036, allocations: 4 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.256e-05/0.4036, allocations: 79.45 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4036, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002164/0.4039, allocations: 8 kB / 1.349 GB, free: 12.25 MB / 1.045 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.0006064/0.4045, allocations: 0.7007 MB / 1.35 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.4047, allocations: 43.92 kB / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4047, allocations: 0 / 1.35 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.4049, allocations: 19.98 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4052, allocations: 8.125 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4056, allocations: 135.3 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.4059, allocations: 0.6805 MB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.406, allocations: 12.11 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.406, allocations: 7.438 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.406, allocations: 0 / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.4282, allocations: 1.593 MB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.83, allocations: 3.062 kB / 1.352 GB, free: 9.109 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.534503402013797] Failed to read output from testmodel.py, exit status != 0: 11.99700115097221 12.02097767 11.617238985 Calling exit ...