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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.424/2.424, allocations: 393.5 MB / 408.4 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 187.9 kB / 0.4901 GB, free: 2.098 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.1 MB / 0.7992 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 95.95 kB / 0.9396 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003165, allocations: 6.906 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3063, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.4965, allocations: 149.6 MB / 1.375 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4969, allocations: 59.97 kB / 1.375 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002651/0.4995, allocations: 1.084 MB / 1.377 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.198e-06/0.4996, allocations: 3.984 kB / 1.377 GB, free: 2.926 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.4996, allocations: 0 / 1.377 GB, free: 2.926 MB / 0.8698 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.0004033/0.5, allocations: 367.2 kB / 1.377 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5, allocations: 16.5 kB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.5001, allocations: 34.56 kB / 1.377 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.5001, allocations: 15.84 kB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.5003, allocations: 182.8 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5004, allocations: 12 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.5004, allocations: 7.984 kB / 1.377 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.5006, allocations: 87.39 kB / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5006, allocations: 0 / 1.377 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.5006, allocations: 4 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5006, allocations: 4 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.5007, allocations: 43.91 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.5013, allocations: 444.7 kB / 1.378 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/0.5014, allocations: 41.09 kB / 1.378 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5014, allocations: 0 / 1.378 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5014, allocations: 38.67 kB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5014, allocations: 0 / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001784/0.5016, allocations: 53.55 kB / 1.378 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.5017, allocations: 81.3 kB / 1.378 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.5018, allocations: 155.4 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.5019, allocations: 25.7 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.5019, allocations: 100 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.502, allocations: 15.83 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.502, allocations: 0 / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5021, allocations: 318.8 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.5021, allocations: 4 kB / 1.378 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.5022, allocations: 25.7 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/0.5022, allocations: 12 kB / 1.379 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5022, allocations: 0 / 1.379 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.095e-05/0.5023, allocations: 57.55 kB / 1.379 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.5023, allocations: 11.98 kB / 1.379 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.5023, allocations: 4 kB / 1.379 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5024, allocations: 0 / 1.379 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.5024, allocations: 11.94 kB / 1.379 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5025, allocations: 0 / 1.379 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.5025, allocations: 7.969 kB / 1.379 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.5025, allocations: 4 kB / 1.379 GB, free: 0.5312 MB / 0.8698 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.748e-05/0.5026, allocations: 119.4 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.5026, allocations: 7.906 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/0.5027, allocations: 11.86 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5027, allocations: 4 kB / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5027, allocations: 0 / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5027, allocations: 0 / 1.379 GB, free: 396 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.5032, allocations: 470.8 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5032, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.5032, allocations: 4 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5032, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5032, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5032, allocations: 3.938 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5032, allocations: 3.984 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.5034, allocations: 95.64 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.5034, allocations: 89 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.5035, allocations: 4 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.5035, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.5035, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.5035, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001145/0.5036, allocations: 129.1 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5037, allocations: 0 / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001788/0.5038, allocations: 8 kB / 1.38 GB, free: 15.49 MB / 0.8855 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.0005106/0.5044, allocations: 0.7039 MB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.481e-05/0.5045, allocations: 15.94 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.5045, allocations: 8 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.446e-05/0.5045, allocations: 4 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.5046, allocations: 12.97 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.5057, allocations: 0.6998 MB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.506, allocations: 0.7004 MB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.5061, allocations: 8.422 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.5061, allocations: 19.44 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of SimCode: time 6.81e-07/0.5061, allocations: 0 / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.5196, allocations: 1.48 MB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.5198, allocations: 192.3 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.013, allocations: 3.125 kB / 1.383 GB, free: 11.61 MB / 0.8855 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) 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