Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.291/2.291, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.0009976/0.0009977, allocations: 176.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0008296/0.0008296, allocations: 91.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.226e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2892, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.36, allocations: 149.6 MB / 1.365 GB, free: 4.512 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.36, allocations: 61.97 kB / 1.365 GB, free: 4.48 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002468/1.363, allocations: 1.091 MB / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.493e-06/1.363, allocations: 0 / 1.366 GB, free: 3.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.363, allocations: 0 / 1.366 GB, free: 3.52 MB / 0.823 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.000383/1.363, allocations: 357.3 kB / 1.366 GB, free: 3.133 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.363, allocations: 8.031 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/1.363, allocations: 41.8 kB / 1.366 GB, free: 3.078 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/1.363, allocations: 11.86 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/1.363, allocations: 182.8 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.363, allocations: 2.812 kB / 1.367 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/1.363, allocations: 15 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/1.364, allocations: 86.64 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.364, allocations: 4 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/1.364, allocations: 3.188 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/1.364, allocations: 0 / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.23e-05/1.364, allocations: 37.56 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/1.364, allocations: 454.6 kB / 1.367 GB, free: 2.266 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/1.364, allocations: 37.09 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/1.364, allocations: 25.09 kB / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/1.364, allocations: 0 / 1.367 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.364, allocations: 42.38 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/1.364, allocations: 0 / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001496/1.365, allocations: 41.61 kB / 1.367 GB, free: 2.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/1.365, allocations: 77.11 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/1.365, allocations: 156.1 kB / 1.368 GB, free: 1.855 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/1.365, allocations: 29.64 kB / 1.368 GB, free: 1.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/1.365, allocations: 105.7 kB / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/1.365, allocations: 7.906 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/1.365, allocations: 3.375 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.365, allocations: 318.1 kB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/1.365, allocations: 7.984 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/1.365, allocations: 25.16 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/1.365, allocations: 7.938 kB / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/1.365, allocations: 0 / 1.368 GB, free: 1.359 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.737e-05/1.365, allocations: 64.53 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.365, allocations: 4 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.365, allocations: 0.5469 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/1.365, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.406e-05/1.365, allocations: 8 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.365, allocations: 4.062 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/1.365, allocations: 7.844 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/1.365, allocations: 4.219 kB / 1.368 GB, free: 1.27 MB / 0.823 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 () * 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.445e-05/1.366, allocations: 104.9 kB / 1.368 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/1.366, allocations: 11.84 kB / 1.368 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.366, allocations: 15.45 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.366, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.366, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/1.366, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/1.366, allocations: 473.7 kB / 1.369 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.366, allocations: 4.875 kB / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/1.366, allocations: 0 / 1.369 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.366, allocations: 4 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/1.366, allocations: 0 / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.366, allocations: 0 / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.366, allocations: 11.92 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.047e-05/1.366, allocations: 90.89 kB / 1.369 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/1.366, allocations: 89 kB / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/1.366, allocations: 0 / 1.369 GB, free: 404 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/1.366, allocations: 7.562 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/1.366, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/1.366, allocations: 3.953 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.091e-05/1.366, allocations: 127 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/1.366, allocations: 3.938 kB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.000163/1.367, allocations: 8 kB / 1.369 GB, free: 272 kB / 0.823 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 () * 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.0004837/1.367, allocations: 0.6904 MB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.024e-05/1.367, allocations: 18.75 kB / 1.37 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.367, allocations: 3.938 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.38e-05/1.367, allocations: 4 kB / 1.37 GB, free: 15.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/1.367, allocations: 11.2 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/1.368, allocations: 136.2 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/1.368, allocations: 0.7004 MB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.272e-05/1.368, allocations: 8.422 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/1.368, allocations: 25.3 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of SimCode: time 6.61e-07/1.368, allocations: 0 / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/1.38, allocations: 1.463 MB / 1.372 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/1.38, allocations: 175.7 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.941, allocations: 0 / 1.372 GB, free: 13.09 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat does not exist to compare? outputFormat=mat