Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001054/0.001054, allocations: 185 kB / 498.1 MB, free: 5.684 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.472/1.472, allocations: 223.1 MB / 0.7948 GB, free: 18.82 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.0008874/0.0008875, allocations: 101.5 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004203, allocations: 17.66 kB / 1.084 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3037, allocations: 142.4 MB / 1.223 GB, free: 89.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.5065, allocations: 148.8 MB / 1.368 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5068, allocations: 63.97 kB / 1.368 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002515/0.5093, allocations: 1.097 MB / 1.369 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5093, allocations: 0 / 1.369 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.5094, allocations: 8 kB / 1.369 GB, free: 3.254 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.0004187/0.5098, allocations: 363.1 kB / 1.37 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5099, allocations: 8.031 kB / 1.37 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.322e-05/0.5099, allocations: 46.48 kB / 1.37 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.51, allocations: 11.86 kB / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.5101, allocations: 175.1 kB / 1.37 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5101, allocations: 4 kB / 1.37 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5102, allocations: 11.94 kB / 1.37 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.5103, allocations: 99.95 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.5103, allocations: 3.938 kB / 1.37 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.5104, allocations: 3.984 kB / 1.37 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.5104, allocations: 0 / 1.37 GB, free: 2.434 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.5104, allocations: 35.98 kB / 1.37 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.511, allocations: 456.5 kB / 1.371 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.5111, allocations: 37.22 kB / 1.371 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.5111, allocations: 8.016 kB / 1.371 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.5111, allocations: 34.56 kB / 1.371 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.5111, allocations: 0 / 1.371 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.5113, allocations: 49.61 kB / 1.371 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5114, allocations: 81.11 kB / 1.371 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5115, allocations: 148 kB / 1.371 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5115, allocations: 25.7 kB / 1.371 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.5116, allocations: 108.1 kB / 1.371 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.5116, allocations: 7.984 kB / 1.371 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.5116, allocations: 0 / 1.371 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.5117, allocations: 322.8 kB / 1.371 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.5118, allocations: 8 kB / 1.371 GB, free: 1.012 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.5118, allocations: 17.7 kB / 1.371 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.5118, allocations: 8 kB / 1.371 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5118, allocations: 0 / 1.371 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.5119, allocations: 69.53 kB / 1.371 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5119, allocations: 4 kB / 1.371 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.512, allocations: 0 / 1.371 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.512, allocations: 4 kB / 1.371 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.5121, allocations: 4 kB / 1.371 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5121, allocations: 0 / 1.371 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.5121, allocations: 11.84 kB / 1.371 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.5121, allocations: 0 / 1.371 GB, free: 0.8828 MB / 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.966e-05/0.5122, allocations: 125.8 kB / 1.372 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.5123, allocations: 7.906 kB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.5123, allocations: 15.86 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5123, allocations: 0 / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5123, allocations: 3.938 kB / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5123, allocations: 96 / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.5127, allocations: 470.8 kB / 1.372 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5127, allocations: 12.05 kB / 1.372 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.5127, allocations: 4 kB / 1.372 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5127, allocations: 0 / 1.372 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.5127, allocations: 4 kB / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5128, allocations: 7.922 kB / 1.372 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5128, allocations: 0 / 1.372 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.52e-05/0.5129, allocations: 87.58 kB / 1.372 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.5129, allocations: 93 kB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.513, allocations: 0 / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.513, allocations: 3.938 kB / 1.372 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.513, allocations: 4 kB / 1.372 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.513, allocations: 0 / 1.372 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.779e-05/0.5131, allocations: 127.2 kB / 1.372 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5131, allocations: 0 / 1.372 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001777/0.5133, allocations: 11.91 kB / 1.372 GB, free: 15.8 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.0003823/0.5137, allocations: 0.6913 MB / 1.373 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.501e-05/0.5138, allocations: 19.94 kB / 1.373 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5138, allocations: 4.156 kB / 1.373 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.5138, allocations: 7.984 kB / 1.373 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.5139, allocations: 11.95 kB / 1.373 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.5149, allocations: 0.6976 MB / 1.374 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5151, allocations: 0.6965 MB / 1.374 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.5152, allocations: 12.42 kB / 1.374 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.5152, allocations: 27.36 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.1e-07/0.5152, allocations: 4 kB / 1.375 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.5287, allocations: 1.465 MB / 1.376 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.5289, allocations: 187.5 kB / 1.376 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.007, allocations: 0 / 1.376 GB, free: 11.93 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat