Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_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.0008084/0.0008084, 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.0008421/0.0008422, 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.508/1.508, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005852/0.0005853, allocations: 16 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8497/0.8503, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.000982/0.8513, allocations: 0.5186 MB / 0.9816 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.952e-05/0.8514, allocations: 43.78 kB / 0.9817 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.8515, allocations: 0 / 0.9817 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.8515, allocations: 7.922 kB / 0.9817 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.8516, allocations: 7.938 kB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.209e-05/0.8516, allocations: 15.98 kB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.8517, allocations: 51.86 kB / 0.9818 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.8518, allocations: 28.16 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.364e-05/0.8519, allocations: 15.88 kB / 0.9818 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.852, allocations: 27.8 kB / 0.9818 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.852, allocations: 4 kB / 0.9818 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-06/0.852, allocations: 3.938 kB / 0.9818 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.852, allocations: 19.91 kB / 0.9819 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.8521, allocations: 33.64 kB / 0.9819 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.8522, allocations: 50.14 kB / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8522, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8522, allocations: 0 / 0.9819 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.8522, allocations: 0 / 0.9819 GB, free: 5.449 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000427/0.8526, allocations: 375 kB / 0.9823 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8527, allocations: 8.031 kB / 0.9823 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.8527, allocations: 42.55 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.553e-05/0.8528, allocations: 7.906 kB / 0.9824 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.853, allocations: 186.9 kB / 0.9825 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.853, allocations: 4 kB / 0.9825 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.853, allocations: 8 kB / 0.9825 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.8532, allocations: 101.1 kB / 0.9826 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8532, allocations: 4 kB / 0.9826 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.8532, allocations: 0 / 0.9826 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.8532, allocations: 4 kB / 0.9826 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.543e-05/0.8533, allocations: 39.92 kB / 0.9827 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.8538, allocations: 428.6 kB / 0.9831 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.8539, allocations: 45.34 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.8539, allocations: 17.77 kB / 0.9832 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.8539, allocations: 4 kB / 0.9832 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.854, allocations: 34.56 kB / 0.9832 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.854, allocations: 4 kB / 0.9832 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001561/0.8541, allocations: 53.5 kB / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.8542, allocations: 77.11 kB / 0.9833 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.8543, allocations: 172 kB / 0.9835 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.8544, allocations: 29.64 kB / 0.9835 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.8544, allocations: 100 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.8545, allocations: 15.78 kB / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/0.8545, allocations: 256 / 0.9836 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8546, allocations: 322.8 kB / 0.9839 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.8546, allocations: 8 kB / 0.9839 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/0.8546, allocations: 13.72 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.8547, allocations: 11.98 kB / 0.984 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8547, allocations: 4 kB / 0.984 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.466e-05/0.8548, allocations: 57.55 kB / 0.984 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.8548, allocations: 8.062 kB / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.8548, allocations: 0 / 0.984 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8548, allocations: 7.938 kB / 0.984 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.8549, allocations: 7.984 kB / 0.984 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.8549, allocations: 3.953 kB / 0.984 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.8549, allocations: 4 kB / 0.9841 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.8549, allocations: 0 / 0.9841 GB, free: 3.023 MB / 0.7325 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 7.392e-05/0.855, allocations: 113.8 kB / 0.9842 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.855, allocations: 7.906 kB / 0.9842 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.8551, allocations: 15.88 kB / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8551, allocations: 0 / 0.9842 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.8551, allocations: 7.984 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8551, allocations: 3.953 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.8555, allocations: 466.7 kB / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8555, allocations: 0 / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.8555, allocations: 4 kB / 0.9846 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.8555, allocations: 4.156 kB / 0.9846 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.8555, allocations: 7.953 kB / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.8555, allocations: 0 / 0.9847 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8555, allocations: 7.922 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.914e-05/0.8556, allocations: 77.89 kB / 0.9847 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.8557, allocations: 85.02 kB / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.8557, allocations: 0 / 0.9848 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.8557, allocations: 7.984 kB / 0.9848 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.8558, allocations: 7.984 kB / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.8558, allocations: 0 / 0.9848 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.8558, allocations: 125.1 kB / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.493e-06/0.8559, allocations: 0 / 0.985 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001947/0.8561, allocations: 11.88 kB / 0.985 GB, free: 1.98 MB / 0.7325 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.0004982/0.8566, allocations: 0.6132 MB / 0.9856 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.8566, allocations: 15.98 kB / 0.9856 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8567, allocations: 3.938 kB / 0.9856 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.8567, allocations: 8 kB / 0.9856 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.8568, allocations: 14.92 kB / 0.9856 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.8576, allocations: 0.5497 MB / 0.9861 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.858, allocations: 0.6966 MB / 0.9868 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.8581, allocations: 4.438 kB / 0.9868 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.8581, allocations: 27.36 kB / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8581, allocations: 0 / 0.9869 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.8705, allocations: 1.483 MB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.8707, allocations: 207.5 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.632, allocations: 4.062 kB / 0.9885 GB, free: 14.34 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat