Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.39/2.39, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001233/0.001233, allocations: 168 kB / 0.4901 GB, free: 2.238 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.919/1.919, allocations: 223.1 MB / 0.7992 GB, free: 15.56 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.0009135/0.0009135, allocations: 108.2 kB / 0.9396 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003878, allocations: 9.797 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2725/0.5992, allocations: 149.7 MB / 1.375 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5995, allocations: 63.95 kB / 1.375 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.00338/0.6029, allocations: 1.296 MB / 1.377 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.046e-06/0.603, allocations: 0 / 1.377 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.603, allocations: 4 kB / 1.377 GB, free: 14.14 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005498/0.6036, allocations: 387.1 kB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.808e-05/0.6036, allocations: 12.56 kB / 1.377 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.6037, allocations: 38.55 kB / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.6038, allocations: 15.91 kB / 1.377 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.604, allocations: 178.8 kB / 1.377 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.604, allocations: 4.188 kB / 1.377 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.6041, allocations: 12 kB / 1.377 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.6043, allocations: 106.2 kB / 1.377 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6043, allocations: 4 kB / 1.377 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.6043, allocations: 4 kB / 1.377 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.6043, allocations: 0 / 1.377 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.6045, allocations: 55.91 kB / 1.378 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.6052, allocations: 484.7 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.6053, allocations: 57.14 kB / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.6053, allocations: 0 / 1.378 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.6054, allocations: 38.62 kB / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.6054, allocations: 0 / 1.378 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002228/0.6056, allocations: 69.53 kB / 1.378 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.6057, allocations: 81.11 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.6059, allocations: 157.3 kB / 1.378 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6059, allocations: 25.7 kB / 1.378 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.606, allocations: 112.1 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.606, allocations: 19.75 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.606, allocations: 4 kB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.6062, allocations: 322.8 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.6062, allocations: 12 kB / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.6063, allocations: 21.66 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.6063, allocations: 19.98 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6063, allocations: 0 / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001514/0.6065, allocations: 69.59 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6065, allocations: 8 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.6065, allocations: 7.938 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6065, allocations: 0 / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.6066, allocations: 8 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.6066, allocations: 0 / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.537e-05/0.6067, allocations: 7.906 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.6067, allocations: 0 / 1.379 GB, free: 11.59 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 (6): * Single equations (assignments): 6 * 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 0.0001147/0.6068, allocations: 121.8 kB / 1.379 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.6069, allocations: 7.906 kB / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.6069, allocations: 16.56 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6069, allocations: 4.125 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6069, allocations: 4 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6069, allocations: 0 / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.6075, allocations: 0.5082 MB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6075, allocations: 4.125 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.6075, allocations: 8.109 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6075, allocations: 3.938 kB / 1.38 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.6075, allocations: 4 kB / 1.38 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6075, allocations: 7.984 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6076, allocations: 0 / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.6077, allocations: 144.6 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.6078, allocations: 100.9 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.6078, allocations: 4 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.6079, allocations: 0 / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.6079, allocations: 144 / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.6079, allocations: 8 kB / 1.38 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001025/0.608, allocations: 128.9 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.608, allocations: 0 / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001876/0.6082, allocations: 12 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.000611/0.6088, allocations: 0.8932 MB / 1.381 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.6089, allocations: 27.94 kB / 1.381 GB, free: 9.398 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6089, allocations: 3.938 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.609, allocations: 20.11 kB / 1.381 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.6091, allocations: 9.25 kB / 1.381 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.6102, allocations: 0.7891 MB / 1.382 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.6106, allocations: 0.7082 MB / 1.382 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.6106, allocations: 4.562 kB / 1.382 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.563e-05/0.6107, allocations: 27.42 kB / 1.382 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.6107, allocations: 3.938 kB / 1.382 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.6241, allocations: 1.636 MB / 1.384 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.6243, allocations: 206.9 kB / 1.384 GB, free: 6.012 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.157, allocations: 0 / 1.384 GB, free: 6.012 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat does not exist to compare? outputFormat=mat