Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.222/2.222, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001351/0.001351, allocations: 174.9 kB / 0.4901 GB, free: 2.246 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001075/0.001075, allocations: 98.78 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004019, allocations: 10.52 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.31, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.506, allocations: 149.6 MB / 1.375 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5063, allocations: 63.95 kB / 1.375 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002799/0.5091, allocations: 1.097 MB / 1.377 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5091, allocations: 224 / 1.377 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.5092, allocations: 0 / 1.377 GB, free: 14.41 MB / 0.8855 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.0003767/0.5095, allocations: 375 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.5096, allocations: 12.56 kB / 1.377 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.5097, allocations: 34.56 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.5097, allocations: 11.86 kB / 1.377 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.5099, allocations: 186.8 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.5099, allocations: 8 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5099, allocations: 4 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.5101, allocations: 88.33 kB / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5101, allocations: 0 / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5101, allocations: 4 kB / 1.377 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5101, allocations: 4 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.5102, allocations: 39.92 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.5108, allocations: 452.6 kB / 1.378 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.5109, allocations: 41.09 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.5109, allocations: 0 / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.511, allocations: 34.69 kB / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.511, allocations: 0 / 1.378 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0001919/0.5112, allocations: 57.53 kB / 1.378 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.5112, allocations: 85.3 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5114, allocations: 144.7 kB / 1.378 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5114, allocations: 25.7 kB / 1.378 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.5115, allocations: 104 kB / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.5115, allocations: 11.91 kB / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.5115, allocations: 0 / 1.378 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5116, allocations: 322.8 kB / 1.378 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.5117, allocations: 4 kB / 1.378 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.5117, allocations: 21.72 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.5117, allocations: 15.98 kB / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5117, allocations: 0 / 1.378 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.5118, allocations: 57.55 kB / 1.379 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5119, allocations: 8 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5119, allocations: 3.938 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.5119, allocations: 0 / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.512, allocations: 7.984 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.512, allocations: 8.062 kB / 1.379 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.512, allocations: 11.84 kB / 1.379 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.5121, allocations: 7.938 kB / 1.379 GB, free: 12.02 MB / 0.8855 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.507e-05/0.5122, allocations: 113.8 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.5122, allocations: 7.906 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.5122, allocations: 11.88 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5123, allocations: 0 / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.5123, allocations: 4 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5123, allocations: 3.984 kB / 1.379 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.5127, allocations: 470.8 kB / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5127, allocations: 0 / 1.379 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.5127, allocations: 4 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5127, allocations: 0 / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.5128, allocations: 0 / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5128, allocations: 3.938 kB / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5128, allocations: 0 / 1.379 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.5129, allocations: 99.62 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.513, allocations: 81.02 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.513, allocations: 11.98 kB / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.513, allocations: 0 / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.513, allocations: 96 / 1.379 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.5131, allocations: 3.984 kB / 1.379 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001055/0.5132, allocations: 127.2 kB / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5132, allocations: 0 / 1.38 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001978/0.5134, allocations: 8 kB / 1.38 GB, free: 10.97 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.0005311/0.5139, allocations: 0.6962 MB / 1.38 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.514, allocations: 15.94 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.514, allocations: 0 / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.43e-05/0.5141, allocations: 8 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.5142, allocations: 16.72 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5153, allocations: 0.7031 MB / 1.381 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.5156, allocations: 0.7004 MB / 1.382 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.5156, allocations: 8.422 kB / 1.382 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.5157, allocations: 23.44 kB / 1.382 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.5157, allocations: 0 / 1.382 GB, free: 8.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.5286, allocations: 1.489 MB / 1.383 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.5288, allocations: 193.9 kB / 1.383 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.009, allocations: 0 / 1.383 GB, free: 7.086 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat does not exist to compare? outputFormat=mat