Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",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.284/2.284, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001181/0.00118, allocations: 183.1 kB / 0.4901 GB, free: 2.215 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.528/1.528, 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.001201/0.001201, allocations: 88.39 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005001, allocations: 10.28 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.309, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.5067, allocations: 149.6 MB / 1.375 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.507, allocations: 71.95 kB / 1.375 GB, free: 3.746 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002559/0.5096, allocations: 1.096 MB / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5096, allocations: 0 / 1.377 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5096, allocations: 0 / 1.377 GB, free: 2.648 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.0003702/0.51, allocations: 367.2 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5101, allocations: 16.5 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.5101, allocations: 38.5 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.5102, allocations: 19.86 kB / 1.377 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.5103, allocations: 174.9 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5104, allocations: 8 kB / 1.377 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.5104, allocations: 8 kB / 1.377 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.5106, allocations: 92.58 kB / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5106, allocations: 0 / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5106, allocations: 0 / 1.377 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5106, allocations: 4 kB / 1.377 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.5107, allocations: 35.98 kB / 1.377 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.5113, allocations: 456.5 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.5114, allocations: 41.23 kB / 1.378 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.5114, allocations: 7.938 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5114, allocations: 34.69 kB / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5114, allocations: 0 / 1.378 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001787/0.5116, allocations: 53.53 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5117, allocations: 77.11 kB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5118, allocations: 143.9 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5118, allocations: 29.7 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.5119, allocations: 109.7 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.5119, allocations: 7.844 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/0.5119, allocations: 3.938 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.512, allocations: 322.8 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.5121, allocations: 8 kB / 1.378 GB, free: 404 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.5121, allocations: 21.7 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.797e-05/0.5121, allocations: 12 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5121, allocations: 0 / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.292e-05/0.5122, allocations: 57.55 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.5123, allocations: 8 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5123, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5123, allocations: 0 / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.5124, allocations: 15.92 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.5124, allocations: 0 / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.5124, allocations: 3.906 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.5124, allocations: 8.062 kB / 1.379 GB, free: 264 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 9.254e-05/0.5125, allocations: 122.6 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.5126, allocations: 7.906 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.5126, allocations: 11.86 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5126, allocations: 4 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5126, allocations: 0 / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5127, allocations: 0 / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.5131, allocations: 474.8 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5131, allocations: 0 / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.5131, allocations: 4 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5131, allocations: 0 / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5131, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5131, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5131, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.745e-05/0.5133, allocations: 91.62 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.407e-05/0.5133, allocations: 89 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.5133, allocations: 7.938 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.5134, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.5134, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.5134, allocations: 0 / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.491e-05/0.5135, allocations: 129.4 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5135, allocations: 4.031 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001808/0.5137, allocations: 11.94 kB / 1.38 GB, free: 15.2 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.0004231/0.5141, allocations: 0.6884 MB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.5142, allocations: 23.97 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5142, allocations: 0 / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.099e-05/0.5142, allocations: 4 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001148/0.5144, allocations: 11.89 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009324/0.5153, allocations: 0.709 MB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.5156, allocations: 0.7043 MB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.5156, allocations: 8.422 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.5157, allocations: 23.44 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5157, allocations: 0 / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.5279, allocations: 1.486 MB / 1.383 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.5281, allocations: 192 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.131, allocations: 7.719 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat does not exist to compare? outputFormat=mat