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.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_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.00109/0.00109, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001519/0.001519, allocations: 168.7 kB / 15.95 MB, free: 204 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.592/2.592, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 8 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7923, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009077/0.7933, allocations: 341.2 kB / 0.9815 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.7943, allocations: 0.8218 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.864e-05/0.7943, allocations: 0 / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.7944, allocations: 0 / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.7944, allocations: 3.938 kB / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.7946, allocations: 15.98 kB / 0.9823 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.34e-05/0.7946, allocations: 23.92 kB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.7947, allocations: 11.98 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.7948, allocations: 4 kB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.7949, allocations: 15.92 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.7949, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.7949, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.7949, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.795, allocations: 33.7 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.76e-05/0.795, allocations: 19.94 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.795, allocations: 0 / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.795, allocations: 0 / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.795, allocations: 0 / 0.9824 GB, free: 4.938 MB / 0.7325 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.0004606/0.7955, allocations: 341.6 kB / 0.9827 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7956, allocations: 8.031 kB / 0.9827 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.7956, allocations: 30.56 kB / 0.9828 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.7956, allocations: 4 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7958, allocations: 163 kB / 0.9829 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.7958, allocations: 0 / 0.9829 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.7958, allocations: 4 kB / 0.9829 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.796, allocations: 65.61 kB / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.796, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.796, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.796, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.7962, allocations: 55.95 kB / 0.983 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.7966, allocations: 244.9 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.7967, allocations: 50.5 kB / 0.9833 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.7968, allocations: 32.84 kB / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.7969, allocations: 0 / 0.9834 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.7969, allocations: 38.5 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.7969, allocations: 0 / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003775/0.7973, allocations: 105.6 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.7973, allocations: 59.28 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.7974, allocations: 97.86 kB / 0.9836 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.7974, allocations: 25.83 kB / 0.9837 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.7975, allocations: 88.12 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.7975, allocations: 11.84 kB / 0.9838 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.7975, allocations: 4 kB / 0.9838 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7977, allocations: 310.8 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.7978, allocations: 19.98 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.7979, allocations: 27.97 kB / 0.9841 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.071e-05/0.798, allocations: 23.98 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.798, allocations: 0 / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.7982, allocations: 81.67 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.7982, allocations: 9.406 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7982, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7982, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.7983, allocations: 15.92 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7983, allocations: 0 / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.7984, allocations: 16.02 kB / 0.9843 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.7984, allocations: 0 / 0.9843 GB, free: 2.82 MB / 0.7325 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 0.0001397/0.7986, allocations: 109.8 kB / 0.9844 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7986, allocations: 7.953 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.818e-05/0.7986, allocations: 3.125 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7986, allocations: 0 / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7986, allocations: 0 / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7986, allocations: 0 / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.7988, allocations: 165.8 kB / 0.9845 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7988, allocations: 4 kB / 0.9845 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.724e-05/0.7989, allocations: 11.98 kB / 0.9845 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7989, allocations: 3.984 kB / 0.9845 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.7989, allocations: 3.953 kB / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7989, allocations: 0 / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7989, allocations: 0 / 0.9845 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.7992, allocations: 183.4 kB / 0.9847 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.7992, allocations: 77.11 kB / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.7992, allocations: 0 / 0.9848 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.7993, allocations: 19.94 kB / 0.9848 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.7994, allocations: 11.95 kB / 0.9848 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7994, allocations: 4 kB / 0.9848 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.7994, allocations: 83.28 kB / 0.9849 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7994, allocations: 3.938 kB / 0.9849 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002115/0.7997, allocations: 4 kB / 0.9849 GB, free: 2.047 MB / 0.7325 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.0006446/0.8003, allocations: 0.7047 MB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.8005, allocations: 51.94 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8006, allocations: 0 / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.845e-05/0.8006, allocations: 27.97 kB / 0.9857 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.8009, allocations: 11.89 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.8014, allocations: 140 kB / 0.9858 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.8016, allocations: 0.677 MB / 0.9865 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.8017, allocations: 4 kB / 0.9865 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.8017, allocations: 15.42 kB / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8017, allocations: 0 / 0.9865 GB, free: 328 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.8126, allocations: 1.159 MB / 0.9876 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.8128, allocations: 209.1 kB / 0.9878 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.625, allocations: 0 / 0.9878 GB, free: 15.1 MB / 0.7481 GB (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/linux/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 --timeout=50 --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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat does not exist to compare? outputFormat=mat