Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.0009201/0.0009203, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009575/0.0009576, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00077/0.0007701, allocations: 21.09 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3038, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0009442/0.3048, allocations: 0.5442 MB / 0.7878 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.3049, allocations: 51.78 kB / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.3049, allocations: 0 / 0.7878 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.305, allocations: 7.922 kB / 0.7878 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.3051, allocations: 7.922 kB / 0.7878 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.589e-05/0.3051, allocations: 15.98 kB / 0.7878 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.3052, allocations: 47.84 kB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3053, allocations: 29.56 kB / 0.7879 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.3054, allocations: 23.86 kB / 0.7879 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.3055, allocations: 23.8 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3055, allocations: 4 kB / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.3055, allocations: 0 / 0.788 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.3055, allocations: 11.92 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.3055, allocations: 41.64 kB / 0.788 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.653e-05/0.3056, allocations: 60.08 kB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3056, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3056, allocations: 0 / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3056, allocations: 4 kB / 0.7881 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003834/0.3061, allocations: 375 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3061, allocations: 12.03 kB / 0.7884 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.3061, allocations: 38.55 kB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.3062, allocations: 11.91 kB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.3064, allocations: 197.6 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3064, allocations: 4 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3064, allocations: 8 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.3066, allocations: 96.58 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3066, allocations: 0 / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3066, allocations: 0 / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3066, allocations: 4 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.3067, allocations: 39.92 kB / 0.7888 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.3072, allocations: 448.5 kB / 0.7893 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.3072, allocations: 45.23 kB / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.3073, allocations: 0 / 0.7893 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3073, allocations: 34.69 kB / 0.7893 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3073, allocations: 4 kB / 0.7893 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.3075, allocations: 57.53 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.3075, allocations: 81.11 kB / 0.7895 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3076, allocations: 163.3 kB / 0.7896 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.3077, allocations: 29.7 kB / 0.7896 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3077, allocations: 111.9 kB / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-06/0.3077, allocations: 0 / 0.7898 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.3077, allocations: 4.25 kB / 0.7898 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.3078, allocations: 326.8 kB / 0.7901 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3079, allocations: 4 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/0.3079, allocations: 29.58 kB / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.3079, allocations: 11.94 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3079, allocations: 0 / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.695e-05/0.308, allocations: 65.47 kB / 0.7902 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.308, allocations: 10.72 kB / 0.7902 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3081, allocations: 7.938 kB / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3081, allocations: 0 / 0.7902 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.3081, allocations: 7.984 kB / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3082, allocations: 0 / 0.7902 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.3082, allocations: 4 kB / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3082, allocations: 0 / 0.7902 GB, free: 8.562 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.761e-05/0.3083, allocations: 113.8 kB / 0.7903 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.3083, allocations: 11.86 kB / 0.7903 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.3084, allocations: 20.55 kB / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3084, allocations: 0 / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3084, allocations: 4 kB / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3084, allocations: 0 / 0.7903 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.3087, allocations: 486.6 kB / 0.7908 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3087, allocations: 4 kB / 0.7908 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.3088, allocations: 0 / 0.7908 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3088, allocations: 4.062 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3088, allocations: 7.984 kB / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3088, allocations: 0 / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3088, allocations: 0 / 0.7908 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.3089, allocations: 95.61 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.3089, allocations: 96.98 kB / 0.791 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.309, allocations: 4.031 kB / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.309, allocations: 0 / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.309, allocations: 0 / 0.791 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.309, allocations: 4 kB / 0.791 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.734e-05/0.3091, allocations: 120 kB / 0.7911 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 0 / 0.7911 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001786/0.3093, allocations: 12 kB / 0.7911 GB, free: 7.48 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0003415/0.3096, allocations: 0.703 MB / 0.7918 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.3097, allocations: 19.98 kB / 0.7919 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3098, allocations: 0 / 0.7919 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-05/0.3098, allocations: 16.09 kB / 0.7919 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.3099, allocations: 8.062 kB / 0.7919 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007875/0.3107, allocations: 0.7445 MB / 0.7926 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.3109, allocations: 0.6965 MB / 0.7933 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.496e-05/0.3109, allocations: 16.36 kB / 0.7933 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.311, allocations: 23.44 kB / 0.7933 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.311, allocations: 0 / 0.7933 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/0.3218, allocations: 1.578 MB / 0.7949 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.322, allocations: 189.5 kB / 0.795 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.024/2.346, allocations: 0 / 0.795 GB, free: 3.457 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) Environment - environmentSimulation: