Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003799, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7986, allocations: 142.3 MB / 0.9539 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0007188/0.7993, allocations: 348.1 kB / 0.9542 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.8002, allocations: 0.8092 MB / 0.955 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.8002, allocations: 0 / 0.955 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.8003, allocations: 0 / 0.955 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.8003, allocations: 5.156 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.8005, allocations: 14.91 kB / 0.955 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.8006, allocations: 18.06 kB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.8007, allocations: 9.453 kB / 0.955 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.8007, allocations: 8.125 kB / 0.955 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.8008, allocations: 15.83 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.8008, allocations: 1.438 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.729e-06/0.8008, allocations: 1 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8008, allocations: 1.656 kB / 0.9551 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.8009, allocations: 25.7 kB / 0.9551 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.269e-05/0.8009, allocations: 24.22 kB / 0.9551 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8009, allocations: 7.938 kB / 0.9551 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8009, allocations: 4 kB / 0.9551 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.801, allocations: 1.25 kB / 0.9551 GB, free: 7.113 MB / 0.7169 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.0003538/0.8013, allocations: 333.3 kB / 0.9554 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.8014, allocations: 10.28 kB / 0.9554 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.601e-05/0.8014, allocations: 34.5 kB / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.8014, allocations: 5.453 kB / 0.9555 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.503e-05/0.8015, allocations: 168 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.8015, allocations: 9.5 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.8016, allocations: 1.438 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.8017, allocations: 57.81 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.8017, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.8018, allocations: 1.094 kB / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.8018, allocations: 0 / 0.9557 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.8019, allocations: 53.19 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.8022, allocations: 246.2 kB / 0.956 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.8024, allocations: 53.22 kB / 0.956 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.8025, allocations: 24.62 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.8025, allocations: 0 / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.8025, allocations: 39.98 kB / 0.9561 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.8025, allocations: 0 / 0.9561 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/0.8029, allocations: 112 kB / 0.9562 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.803, allocations: 52.81 kB / 0.9563 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.803, allocations: 99.23 kB / 0.9564 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.803, allocations: 29.69 kB / 0.9564 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.8031, allocations: 85.58 kB / 0.9565 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.8031, allocations: 3.938 kB / 0.9565 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.8031, allocations: 1.312 kB / 0.9565 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.8031, allocations: 310.8 kB / 0.9568 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.8032, allocations: 22.86 kB / 0.9568 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.8033, allocations: 30.41 kB / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/0.8034, allocations: 18.8 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8034, allocations: 1.156 kB / 0.9568 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.8036, allocations: 90.69 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8036, allocations: 4.938 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.8037, allocations: 1.031 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.8037, allocations: 7.891 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.8038, allocations: 12.89 kB / 0.957 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.8038, allocations: 4.031 kB / 0.957 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.8038, allocations: 10.42 kB / 0.957 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.8039, allocations: 1.438 kB / 0.957 GB, free: 5.266 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.8039, allocations: 107.3 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.8039, allocations: 1.438 kB / 0.9571 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.804, allocations: 8.625 kB / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.804, allocations: 0 / 0.9571 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.804, allocations: 3.953 kB / 0.9571 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.804, allocations: 5.469 kB / 0.9571 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.8041, allocations: 162 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8041, allocations: 4 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.8042, allocations: 12.52 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8042, allocations: 1.375 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8042, allocations: 0 / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8042, allocations: 0 / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8042, allocations: 1.5 kB / 0.9573 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.8045, allocations: 181.2 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.8045, allocations: 82.2 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.8045, allocations: 3.984 kB / 0.9575 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.8046, allocations: 10.97 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.8047, allocations: 10.14 kB / 0.9575 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.8047, allocations: 5.422 kB / 0.9575 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.8047, allocations: 82.05 kB / 0.9576 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8047, allocations: 0 / 0.9576 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002216/0.8049, allocations: 3.969 kB / 0.9576 GB, free: 4.57 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004418/0.8054, allocations: 0.7062 MB / 0.9583 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.8056, allocations: 60.05 kB / 0.9584 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8056, allocations: 0 / 0.9584 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.8057, allocations: 21.14 kB / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.806, allocations: 12.73 kB / 0.9584 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.8064, allocations: 140.6 kB / 0.9585 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.8066, allocations: 0.6754 MB / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.8066, allocations: 0 / 0.9592 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.8067, allocations: 13.42 kB / 0.9592 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8067, allocations: 4 kB / 0.9592 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.8171, allocations: 1.15 MB / 0.9603 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.8173, allocations: 212.1 kB / 0.9605 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.473, allocations: 0 / 0.9605 GB, free: 2.219 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat does not exist to compare? outputFormat=mat