Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.57/2.57, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001071/0.001071, allocations: 180.9 kB / 496.1 MB, free: 12.87 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.441/1.441, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009374/0.0009376, allocations: 95.73 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.439e-05/4.451e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3427, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.439, allocations: 149.6 MB / 1.365 GB, free: 4.441 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.439, allocations: 74.81 kB / 1.365 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002599/1.442, allocations: 1.085 MB / 1.366 GB, free: 3.441 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/1.442, allocations: 0 / 1.366 GB, free: 3.441 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.442, allocations: 4 kB / 1.366 GB, free: 3.438 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.0003846/1.442, allocations: 362.3 kB / 1.366 GB, free: 3.047 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/1.442, allocations: 12.03 kB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/1.442, allocations: 33.62 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/1.442, allocations: 19.8 kB / 1.366 GB, free: 2.977 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/1.442, allocations: 185.3 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/1.442, allocations: 4 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/1.442, allocations: 7.312 kB / 1.367 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/1.443, allocations: 93.53 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.443, allocations: 0 / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.443, allocations: 3.75 kB / 1.367 GB, free: 2.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.443, allocations: 4 kB / 1.367 GB, free: 2.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/1.443, allocations: 33.56 kB / 1.367 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/1.443, allocations: 459.9 kB / 1.367 GB, free: 2.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/1.443, allocations: 37.41 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/1.443, allocations: 16.97 kB / 1.367 GB, free: 2.105 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/1.443, allocations: 4 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.443, allocations: 41.61 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.443, allocations: 0 / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/1.444, allocations: 45.42 kB / 1.367 GB, free: 2.008 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.444, allocations: 81.11 kB / 1.367 GB, free: 1.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/1.444, allocations: 140.2 kB / 1.368 GB, free: 1.781 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/1.444, allocations: 29.77 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/1.444, allocations: 106.8 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/1.444, allocations: 7.156 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/1.444, allocations: 0 / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.444, allocations: 321.8 kB / 1.368 GB, free: 1.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/1.444, allocations: 15.62 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/1.444, allocations: 16.78 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/1.444, allocations: 15.73 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.444, allocations: 0.875 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.063e-05/1.444, allocations: 56.73 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.444, allocations: 4 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.444, allocations: 0 / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.444, allocations: 4 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/1.444, allocations: 7.984 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.444, allocations: 0.7031 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/1.445, allocations: 15.22 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/1.445, allocations: 4.281 kB / 1.368 GB, free: 1.188 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.691e-05/1.445, allocations: 104.9 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/1.445, allocations: 11.84 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/1.445, allocations: 11.16 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/1.445, allocations: 4.078 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.445, allocations: 4 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.445, allocations: 3.938 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/1.445, allocations: 475.7 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.445, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/1.445, allocations: 4 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.445, allocations: 0 / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.445, allocations: 0 / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.445, allocations: 0.875 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.445, allocations: 0 / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.849e-05/1.445, allocations: 102.4 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/1.445, allocations: 84.95 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.445, allocations: 4 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/1.445, allocations: 3.984 kB / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/1.445, allocations: 0 / 1.369 GB, free: 312 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/1.445, allocations: 7.953 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.894e-05/1.446, allocations: 122.8 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.446, allocations: 4.031 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001663/1.446, allocations: 8 kB / 1.369 GB, free: 184 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.0004393/1.446, allocations: 0.6973 MB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/1.446, allocations: 11.25 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.446, allocations: 0 / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/1.446, allocations: 7.938 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/1.446, allocations: 12.42 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/1.447, allocations: 141.9 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/1.447, allocations: 0.6968 MB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.833e-05/1.447, allocations: 12.42 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/1.447, allocations: 14.38 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.447, allocations: 4 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/1.461, allocations: 1.447 MB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/1.462, allocations: 169.4 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/3.09, allocations: 4.062 kB / 1.372 GB, free: 12.98 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat does not exist to compare? outputFormat=mat