Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.0008959/0.000896, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008839/0.0008841, allocations: 172.7 kB / 15.95 MB, free: 208 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.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.312 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.395/2.395, allocations: 390.4 MB / 0.6655 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 16 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8134, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00113/0.8146, allocations: 0.5131 MB / 0.9544 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.8148, allocations: 40.59 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.8148, allocations: 1.594 kB / 0.9544 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.8148, allocations: 3.938 kB / 0.9544 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.8149, allocations: 9.109 kB / 0.9544 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.996e-05/0.815, allocations: 11.91 kB / 0.9544 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.8151, allocations: 61.03 kB / 0.9545 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.8153, allocations: 30.61 kB / 0.9545 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.8153, allocations: 18.31 kB / 0.9545 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.8154, allocations: 19.73 kB / 0.9545 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.8154, allocations: 3.031 kB / 0.9545 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-06/0.8155, allocations: 5.469 kB / 0.9546 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.8155, allocations: 6.125 kB / 0.9546 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.463e-05/0.8155, allocations: 37.23 kB / 0.9546 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.8156, allocations: 55.81 kB / 0.9546 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8156, allocations: 1.125 kB / 0.9546 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8156, allocations: 0 / 0.9546 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.8156, allocations: 0 / 0.9546 GB, free: 7.426 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003608/0.816, allocations: 362.2 kB / 0.955 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8161, allocations: 13.53 kB / 0.955 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.8161, allocations: 37.47 kB / 0.955 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.8162, allocations: 16.08 kB / 0.9551 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.8164, allocations: 189.7 kB / 0.9552 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.8164, allocations: 10.36 kB / 0.9552 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.8164, allocations: 9.188 kB / 0.9553 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.8166, allocations: 88.7 kB / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8166, allocations: 0 / 0.9553 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.8167, allocations: 5.062 kB / 0.9553 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.8167, allocations: 10.09 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.8168, allocations: 34.5 kB / 0.9554 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.8173, allocations: 438.4 kB / 0.9558 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.436e-05/0.8174, allocations: 41.38 kB / 0.9558 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.8175, allocations: 19.81 kB / 0.9559 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.944e-06/0.8175, allocations: 0 / 0.9559 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.8175, allocations: 31.5 kB / 0.9559 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8175, allocations: 7.875 kB / 0.9559 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.8177, allocations: 54.72 kB / 0.956 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.8177, allocations: 82.36 kB / 0.956 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.8179, allocations: 162 kB / 0.9562 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.8179, allocations: 27.17 kB / 0.9562 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.818, allocations: 107.5 kB / 0.9563 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.818, allocations: 9.188 kB / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.818, allocations: 0 / 0.9563 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.8181, allocations: 325.2 kB / 0.9566 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.8181, allocations: 8.375 kB / 0.9566 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.8181, allocations: 18.12 kB / 0.9567 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.8182, allocations: 8.375 kB / 0.9567 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8182, allocations: 0 / 0.9567 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001008/0.8183, allocations: 59.94 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8183, allocations: 4.031 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.8183, allocations: 1 kB / 0.9567 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8183, allocations: 5.5 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.8184, allocations: 4.75 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.8184, allocations: 1.156 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.766e-05/0.8185, allocations: 2.312 kB / 0.9567 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8185, allocations: 1.188 kB / 0.9567 GB, free: 5.273 MB / 0.7169 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.54e-05/0.8186, allocations: 117.3 kB / 0.9569 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.8186, allocations: 12.14 kB / 0.9569 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.8187, allocations: 11.19 kB / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8187, allocations: 0 / 0.9569 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8187, allocations: 9.125 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8187, allocations: 1.281 kB / 0.9569 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.8191, allocations: 477.4 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8191, allocations: 0.8438 kB / 0.9573 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.8191, allocations: 7.688 kB / 0.9574 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.8191, allocations: 7.922 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.8192, allocations: 1.031 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8192, allocations: 4.875 kB / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8192, allocations: 1.438 kB / 0.9574 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.585e-05/0.8193, allocations: 73.42 kB / 0.9574 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.8193, allocations: 91.81 kB / 0.9575 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.8193, allocations: 1.438 kB / 0.9575 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.931e-05/0.8194, allocations: 1.344 kB / 0.9575 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.8194, allocations: 5.531 kB / 0.9575 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.8194, allocations: 0 / 0.9575 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.651e-05/0.8195, allocations: 123.9 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8195, allocations: 1.531 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002967/0.8198, allocations: 14.53 kB / 0.9577 GB, free: 4.309 MB / 0.7169 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.0002873/0.8201, allocations: 0.6152 MB / 0.9583 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.556e-05/0.8202, allocations: 17.38 kB / 0.9583 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8202, allocations: 1.219 kB / 0.9583 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.8203, allocations: 7.672 kB / 0.9583 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.8205, allocations: 9.25 kB / 0.9583 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.8215, allocations: 0.5543 MB / 0.9588 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.8216, allocations: 0.6957 MB / 0.9595 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.8217, allocations: 8.203 kB / 0.9595 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.8217, allocations: 23.48 kB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8217, allocations: 0 / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/0.8354, allocations: 1.492 MB / 0.961 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.8356, allocations: 196.6 kB / 0.9612 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.528, allocations: 1.375 kB / 0.9612 GB, free: 1.547 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat