Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001029/0.001029, allocations: 92.31 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.001299/0.001299, 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.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.636/2.636, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 12 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7748, allocations: 146.8 MB / 0.9811 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001118/0.776, allocations: 0.5186 MB / 0.9816 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001143/0.7761, allocations: 35.8 kB / 0.9817 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.7762, allocations: 4 kB / 0.9817 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.7762, allocations: 7.922 kB / 0.9817 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.7763, allocations: 3.938 kB / 0.9817 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.701e-05/0.7764, allocations: 19.92 kB / 0.9817 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.7765, allocations: 51.84 kB / 0.9818 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.7766, allocations: 36.16 kB / 0.9818 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.7767, allocations: 19.88 kB / 0.9818 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.7768, allocations: 15.86 kB / 0.9818 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.7768, allocations: 0 / 0.9818 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.7768, allocations: 4 kB / 0.9818 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.7768, allocations: 15.92 kB / 0.9818 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.7769, allocations: 37.64 kB / 0.9819 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.777, allocations: 50.12 kB / 0.9819 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.777, allocations: 4 kB / 0.9819 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.065e-06/0.777, allocations: 0 / 0.9819 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.777, allocations: 0 / 0.9819 GB, free: 5.418 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.0004959/0.7775, allocations: 367 kB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.7776, allocations: 15.97 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.7776, allocations: 42.55 kB / 0.9823 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.7777, allocations: 15.91 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.7779, allocations: 182.9 kB / 0.9825 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.7779, allocations: 8 kB / 0.9825 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.7779, allocations: 4 kB / 0.9825 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.7781, allocations: 100.3 kB / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.7781, allocations: 0 / 0.9826 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7782, allocations: 4 kB / 0.9826 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7782, allocations: 4 kB / 0.9826 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.7783, allocations: 39.92 kB / 0.9827 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.7788, allocations: 428.6 kB / 0.9831 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.762e-05/0.7789, allocations: 45.28 kB / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.7789, allocations: 21.84 kB / 0.9832 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.655e-06/0.7789, allocations: 3.984 kB / 0.9832 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.779, allocations: 34.55 kB / 0.9832 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.779, allocations: 0 / 0.9832 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001545/0.7791, allocations: 57.75 kB / 0.9832 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.7792, allocations: 81.11 kB / 0.9833 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.7794, allocations: 172 kB / 0.9835 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.7794, allocations: 29.64 kB / 0.9835 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.7795, allocations: 100 kB / 0.9836 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.7795, allocations: 7.844 kB / 0.9836 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.7795, allocations: 4 kB / 0.9836 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7796, allocations: 318.8 kB / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.7796, allocations: 11.94 kB / 0.9839 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.7797, allocations: 21.72 kB / 0.984 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.7797, allocations: 4 kB / 0.984 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7797, allocations: 0 / 0.984 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.916e-05/0.7798, allocations: 61.53 kB / 0.984 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.7798, allocations: 8 kB / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7798, allocations: 0 / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.7798, allocations: 3.938 kB / 0.984 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.7799, allocations: 8.062 kB / 0.984 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.7799, allocations: 11.94 kB / 0.9841 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.78, allocations: 0 / 0.9841 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.78, allocations: 0 / 0.9841 GB, free: 2.984 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.742e-05/0.78, allocations: 113.8 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.7801, allocations: 7.906 kB / 0.9842 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.7801, allocations: 11.88 kB / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.7801, allocations: 0 / 0.9842 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7801, allocations: 4 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7801, allocations: 7.953 kB / 0.9842 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.7805, allocations: 470.7 kB / 0.9846 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7805, allocations: 0 / 0.9846 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.7805, allocations: 0 / 0.9846 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7805, allocations: 4 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.7806, allocations: 3.953 kB / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.7806, allocations: 0 / 0.9846 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7806, allocations: 8 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.104e-05/0.7807, allocations: 77.89 kB / 0.9847 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.7807, allocations: 85.02 kB / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.7807, allocations: 0 / 0.9848 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.7808, allocations: 11.95 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.7808, allocations: 4 kB / 0.9848 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.7808, allocations: 8.016 kB / 0.9848 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.481e-05/0.7809, allocations: 118.5 kB / 0.9849 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7809, allocations: 0 / 0.9849 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001976/0.7811, allocations: 11.94 kB / 0.985 GB, free: 1.949 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.0004621/0.7816, allocations: 0.6132 MB / 0.9856 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.7817, allocations: 19.98 kB / 0.9856 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7817, allocations: 3.938 kB / 0.9856 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.7817, allocations: 4 kB / 0.9856 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.7819, allocations: 11.95 kB / 0.9856 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008919/0.7828, allocations: 0.5487 MB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.7831, allocations: 0.6927 MB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.7832, allocations: 8.422 kB / 0.9868 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.7832, allocations: 23.44 kB / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7832, allocations: 0 / 0.9868 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.7954, allocations: 1.481 MB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.7958, allocations: 205 kB / 0.9885 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.594, allocations: 0 / 0.9885 GB, free: 14.32 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat does not exist to compare? outputFormat=mat