Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",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.273/2.273, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001265/0.001265, allocations: 184 kB / 0.4901 GB, free: 2.25 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009107/0.0009106, allocations: 102.8 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 15.06 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3085, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.5071, allocations: 149.6 MB / 1.375 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5074, allocations: 63.97 kB / 1.375 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002729/0.5102, allocations: 1.088 MB / 1.376 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5102, allocations: 4 kB / 1.377 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5102, allocations: 4.219 kB / 1.377 GB, free: 2.637 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.0004097/0.5106, allocations: 371.8 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5107, allocations: 12.5 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.5108, allocations: 38.56 kB / 1.377 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.5108, allocations: 15.84 kB / 1.377 GB, free: 2.152 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.511, allocations: 178.9 kB / 1.377 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.511, allocations: 4 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.5111, allocations: 12 kB / 1.377 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.5112, allocations: 95.33 kB / 1.377 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5113, allocations: 0 / 1.377 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5113, allocations: 0 / 1.377 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.5113, allocations: 0 / 1.377 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.5114, allocations: 39.97 kB / 1.377 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.5121, allocations: 456.5 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.5122, allocations: 37.25 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.5122, allocations: 4 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5122, allocations: 38.55 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.5123, allocations: 0 / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.5124, allocations: 49.61 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5125, allocations: 81.11 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5127, allocations: 144.7 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5127, allocations: 29.94 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.5128, allocations: 105.7 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.5128, allocations: 11.83 kB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.5128, allocations: 3.938 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5129, allocations: 322.8 kB / 1.378 GB, free: 400 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.5129, allocations: 4 kB / 1.378 GB, free: 396 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/0.513, allocations: 25.69 kB / 1.378 GB, free: 364 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.513, allocations: 8 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.513, allocations: 4 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.091e-05/0.5131, allocations: 61.55 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5131, allocations: 7.984 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5131, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5132, allocations: 7.938 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.5132, allocations: 4 kB / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.5133, allocations: 0 / 1.379 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.377e-05/0.5133, allocations: 7.906 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.5133, allocations: 0 / 1.379 GB, free: 256 kB / 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.911e-05/0.5134, allocations: 125.8 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.5134, allocations: 7.906 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.5135, allocations: 15.86 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5135, allocations: 0 / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5135, allocations: 0 / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5135, allocations: 0 / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.5139, allocations: 478.8 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5139, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.514, allocations: 4 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.514, allocations: 0 / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.514, allocations: 4 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.514, allocations: 0 / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.514, allocations: 3.984 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.5141, allocations: 87.64 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.5142, allocations: 96.94 kB / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5142, allocations: 0 / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.92e-05/0.5142, allocations: 0 / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.5142, allocations: 4 kB / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.5142, allocations: 0 / 1.379 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001041/0.5144, allocations: 127.2 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5144, allocations: 0 / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001808/0.5145, allocations: 11.97 kB / 1.38 GB, free: 15.19 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.0004144/0.515, allocations: 0.6884 MB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.59e-05/0.5151, allocations: 23.97 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5151, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.5151, allocations: 4 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.5152, allocations: 21.91 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.5162, allocations: 0.6991 MB / 1.381 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5164, allocations: 0.6965 MB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.153e-05/0.5165, allocations: 12.42 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.5165, allocations: 27.42 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.5165, allocations: 0 / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.5295, allocations: 1.473 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.5298, allocations: 196 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.042, allocations: 0 / 1.383 GB, free: 11.32 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat does not exist to compare? outputFormat=mat