Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.001156/0.001156, allocations: 86.41 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.001426/0.001426, 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.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.646/2.646, allocations: 409.4 MB / 0.684 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006078/0.0006079, allocations: 11.94 kB / 0.8378 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8678, allocations: 146.8 MB / 0.9811 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001163/0.869, allocations: 0.5109 MB / 0.9816 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.8692, allocations: 39.78 kB / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.8692, allocations: 0 / 0.9817 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.8693, allocations: 3.938 kB / 0.9817 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.8694, allocations: 11.94 kB / 0.9817 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.322e-05/0.8695, allocations: 11.98 kB / 0.9817 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.8696, allocations: 59.84 kB / 0.9818 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.8698, allocations: 36.09 kB / 0.9818 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.885e-05/0.8699, allocations: 19.8 kB / 0.9818 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.87, allocations: 19.86 kB / 0.9818 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.8701, allocations: 0 / 0.9818 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.8701, allocations: 8 kB / 0.9818 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.8701, allocations: 7.938 kB / 0.9819 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.8702, allocations: 33.64 kB / 0.9819 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.8703, allocations: 54.14 kB / 0.9819 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.8703, allocations: 0 / 0.9819 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.107e-06/0.8703, allocations: 0 / 0.9819 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.8703, allocations: 0 / 0.9819 GB, free: 5.391 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.0006879/0.871, allocations: 367 kB / 0.9823 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.8711, allocations: 12.02 kB / 0.9823 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.483e-05/0.8712, allocations: 42.56 kB / 0.9823 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.8713, allocations: 11.91 kB / 0.9824 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.8716, allocations: 190.9 kB / 0.9825 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8717, allocations: 4 kB / 0.9825 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.8717, allocations: 12 kB / 0.9826 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.8719, allocations: 92.66 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.8719, allocations: 0 / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.872, allocations: 4 kB / 0.9826 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.872, allocations: 11.98 kB / 0.9827 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.8721, allocations: 35.92 kB / 0.9827 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.8727, allocations: 428.6 kB / 0.9831 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.8728, allocations: 49.33 kB / 0.9831 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.8729, allocations: 13.78 kB / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.8729, allocations: 0 / 0.9832 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.873, allocations: 38.56 kB / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.873, allocations: 0 / 0.9832 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002197/0.8732, allocations: 57.72 kB / 0.9832 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.8733, allocations: 81.09 kB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.8735, allocations: 164.3 kB / 0.9835 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.8735, allocations: 33.69 kB / 0.9835 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.8736, allocations: 99.98 kB / 0.9836 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.8736, allocations: 11.83 kB / 0.9836 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.8737, allocations: 4 kB / 0.9836 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8738, allocations: 318.8 kB / 0.9839 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.8739, allocations: 12.03 kB / 0.9839 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.8739, allocations: 17.7 kB / 0.984 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.8739, allocations: 8 kB / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8739, allocations: 0 / 0.984 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001096/0.8741, allocations: 65.48 kB / 0.984 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8741, allocations: 7.984 kB / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8741, allocations: 0 / 0.984 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.8741, allocations: 4.062 kB / 0.984 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.336e-05/0.8742, allocations: 8 kB / 0.984 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8742, allocations: 3.953 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.8743, allocations: 0 / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.8743, allocations: 4 kB / 0.9841 GB, free: 2.961 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 8.364e-05/0.8743, allocations: 113.8 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.8744, allocations: 7.906 kB / 0.9842 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.8744, allocations: 11.86 kB / 0.9842 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8744, allocations: 4 kB / 0.9842 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.8745, allocations: 4 kB / 0.9842 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.8745, allocations: 3.953 kB / 0.9842 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.8749, allocations: 470.7 kB / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8749, allocations: 0 / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.8749, allocations: 4 kB / 0.9846 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.8749, allocations: 4 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.875, allocations: 3.953 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.875, allocations: 64 / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.875, allocations: 8 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.671e-05/0.8751, allocations: 81.83 kB / 0.9847 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.8752, allocations: 89 kB / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.8752, allocations: 0 / 0.9848 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.8752, allocations: 3.953 kB / 0.9848 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.8752, allocations: 4.031 kB / 0.9848 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.8752, allocations: 4 kB / 0.9848 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.518e-05/0.8753, allocations: 124.8 kB / 0.985 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8753, allocations: 0 / 0.985 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001874/0.8755, allocations: 11.94 kB / 0.985 GB, free: 1.918 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.0004719/0.876, allocations: 0.6171 MB / 0.9856 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.8761, allocations: 8 kB / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8761, allocations: 0 / 0.9856 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.8762, allocations: 11.94 kB / 0.9856 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.8763, allocations: 11.95 kB / 0.9856 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.8772, allocations: 0.5411 MB / 0.9861 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.8775, allocations: 0.6966 MB / 0.9868 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.8776, allocations: 8.422 kB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.8776, allocations: 23.44 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.8777, allocations: 3.938 kB / 0.9868 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.8901, allocations: 1.48 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.8903, allocations: 206.5 kB / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.666, allocations: 0 / 0.9885 GB, free: 14.3 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat