Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_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.001041/0.001041, allocations: 91.14 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.001362/0.001362, 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.289 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.532/2.532, allocations: 390.4 MB / 0.6655 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 11.98 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8013/0.8017, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0009864/0.8027, allocations: 0.5146 MB / 0.9544 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.8029, allocations: 45.66 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.8029, allocations: 1.688 kB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.803, allocations: 3.938 kB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.803, allocations: 9.453 kB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.165e-05/0.8031, allocations: 10.47 kB / 0.9544 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.8032, allocations: 58.25 kB / 0.9545 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.8034, allocations: 38.7 kB / 0.9545 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.8034, allocations: 13.5 kB / 0.9545 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.903e-05/0.8035, allocations: 20.86 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.8035, allocations: 1.5 kB / 0.9545 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-06/0.8035, allocations: 1.375 kB / 0.9546 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.8035, allocations: 6.688 kB / 0.9546 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.8036, allocations: 37.8 kB / 0.9546 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.8037, allocations: 51.36 kB / 0.9546 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.8037, allocations: 4.875 kB / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8037, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.8037, allocations: 0 / 0.9546 GB, free: 7.52 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.0003668/0.8041, allocations: 362 kB / 0.955 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8041, allocations: 9.438 kB / 0.955 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.8042, allocations: 42.09 kB / 0.955 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.8042, allocations: 19.36 kB / 0.9551 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.8044, allocations: 194.3 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.8044, allocations: 6.344 kB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.8045, allocations: 12.72 kB / 0.9553 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.8046, allocations: 85.61 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8046, allocations: 1.438 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.8046, allocations: 7.938 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.8047, allocations: 2.062 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.82e-05/0.8047, allocations: 43.12 kB / 0.9554 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.8052, allocations: 438.5 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.8053, allocations: 36.56 kB / 0.9558 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.8053, allocations: 20.53 kB / 0.9559 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.8053, allocations: 4 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8054, allocations: 32.03 kB / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.8054, allocations: 0 / 0.9559 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.8055, allocations: 54.81 kB / 0.956 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8056, allocations: 82.55 kB / 0.956 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.8057, allocations: 159.3 kB / 0.9562 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.8057, allocations: 29.95 kB / 0.9562 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.8058, allocations: 108.5 kB / 0.9563 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.8058, allocations: 8.938 kB / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.8058, allocations: 0 / 0.9563 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.8059, allocations: 325.8 kB / 0.9566 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.8059, allocations: 6.688 kB / 0.9566 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.209e-05/0.8059, allocations: 18.94 kB / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.806, allocations: 12.12 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.806, allocations: 1.062 kB / 0.9567 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.212e-05/0.806, allocations: 53.84 kB / 0.9567 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8061, allocations: 9.969 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.8061, allocations: 0 / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8061, allocations: 1.438 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.8062, allocations: 5.75 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.8062, allocations: 1.219 kB / 0.9567 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.8062, allocations: 9.297 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.8062, allocations: 2.438 kB / 0.9568 GB, free: 5.359 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.713e-05/0.8063, allocations: 120.3 kB / 0.9569 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.8064, allocations: 12.8 kB / 0.9569 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/0.8064, allocations: 6.438 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.8064, allocations: 1.406 kB / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8064, allocations: 0 / 0.9569 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8064, allocations: 5.125 kB / 0.9569 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.8067, allocations: 485.3 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8067, allocations: 1.5 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.8067, allocations: 2.812 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8068, allocations: 1.438 kB / 0.9574 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.8068, allocations: 3.984 kB / 0.9574 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8068, allocations: 1.469 kB / 0.9574 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8068, allocations: 0 / 0.9574 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.208e-05/0.8069, allocations: 82.48 kB / 0.9574 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.8069, allocations: 91.44 kB / 0.9575 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.8069, allocations: 5.438 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.8069, allocations: 1.938 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.807, allocations: 0 / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.807, allocations: 1.594 kB / 0.9575 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.115e-05/0.8071, allocations: 123.1 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8071, allocations: 0.8438 kB / 0.9577 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001883/0.8073, allocations: 18.88 kB / 0.9577 GB, free: 4.391 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.0002876/0.8076, allocations: 0.6077 MB / 0.9583 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.311e-05/0.8076, allocations: 14.44 kB / 0.9583 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8077, allocations: 4.156 kB / 0.9583 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.8077, allocations: 12 kB / 0.9583 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.8078, allocations: 8.469 kB / 0.9583 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/0.8087, allocations: 0.551 MB / 0.9588 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.8088, allocations: 0.6909 MB / 0.9595 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.8088, allocations: 12.77 kB / 0.9595 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.8089, allocations: 31.83 kB / 0.9596 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8089, allocations: 0 / 0.9596 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.8203, allocations: 1.488 MB / 0.961 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.8205, allocations: 197.7 kB / 0.9612 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.502, allocations: 2.672 kB / 0.9612 GB, free: 1.633 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat does not exist to compare? outputFormat=mat