Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.611/2.611, allocations: 393.5 MB / 408.4 MB, free: 11 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.001314/0.001314, allocations: 186.5 kB / 0.4902 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.581/1.581, allocations: 223.1 MB / 0.7992 GB, free: 14.64 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.0008608/0.0008607, allocations: 102.3 kB / 0.9396 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004597, allocations: 10.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3161, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.5048, allocations: 149.6 MB / 1.375 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5051, allocations: 59.97 kB / 1.375 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002827/0.5079, allocations: 1.088 MB / 1.377 GB, free: 2.559 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5079, allocations: 4 kB / 1.377 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.508, allocations: 0 / 1.377 GB, free: 2.555 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.0004089/0.5084, allocations: 367 kB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5084, allocations: 8.562 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.314e-05/0.5085, allocations: 42.55 kB / 1.377 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.5085, allocations: 15.8 kB / 1.377 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.5087, allocations: 174.9 kB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5087, allocations: 8 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.5088, allocations: 8 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5089, allocations: 97.5 kB / 1.377 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5089, allocations: 0 / 1.377 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.509, allocations: 0 / 1.377 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.509, allocations: 4 kB / 1.377 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.292e-05/0.5091, allocations: 35.98 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.5097, allocations: 452.5 kB / 1.378 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.955e-05/0.5098, allocations: 45.19 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.5098, allocations: 4 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5098, allocations: 34.59 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.5098, allocations: 0 / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000187/0.51, allocations: 53.61 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.5101, allocations: 81.05 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.5102, allocations: 152.9 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.5103, allocations: 29.7 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.5104, allocations: 97.7 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.127e-05/0.5104, allocations: 11.83 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5104, allocations: 4 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5105, allocations: 318.8 kB / 1.378 GB, free: 324 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.5105, allocations: 11.98 kB / 1.378 GB, free: 312 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.658e-05/0.5106, allocations: 17.94 kB / 1.378 GB, free: 288 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.671e-05/0.5106, allocations: 16 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5106, allocations: 3.938 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.067e-05/0.5107, allocations: 57.53 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5107, allocations: 4 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5108, allocations: 4 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5108, allocations: 0 / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.5108, allocations: 8 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5109, allocations: 0 / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.435e-05/0.5109, allocations: 11.91 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.5109, allocations: 4.062 kB / 1.379 GB, free: 172 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 8.307e-05/0.511, allocations: 121.7 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.5111, allocations: 7.906 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.5111, allocations: 11.86 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5111, allocations: 0 / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5111, allocations: 0 / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5111, allocations: 4 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.5116, allocations: 470.8 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5116, allocations: 4 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.5116, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5116, allocations: 7.984 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.5116, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5116, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5116, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.605e-05/0.5118, allocations: 91.64 kB / 1.379 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.5118, allocations: 89 kB / 1.379 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5118, allocations: 0 / 1.379 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.381e-05/0.5119, allocations: 4 kB / 1.379 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.5119, allocations: 3.938 kB / 1.379 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.5119, allocations: 0 / 1.379 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.842e-05/0.512, allocations: 127.2 kB / 1.379 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/0.512, allocations: 4.031 kB / 1.379 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001843/0.5122, allocations: 11.94 kB / 1.38 GB, free: 15.11 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.0004587/0.5127, allocations: 0.6922 MB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.688e-05/0.5128, allocations: 19.97 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5128, allocations: 0 / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.5128, allocations: 7.984 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.5129, allocations: 12.64 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.5138, allocations: 0.7069 MB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.5141, allocations: 0.6965 MB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.5142, allocations: 8.422 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.5142, allocations: 23.42 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of SimCode: time 4.2e-07/0.5142, allocations: 0 / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.5271, allocations: 1.483 MB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.5273, allocations: 196.5 kB / 1.383 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.102, allocations: 0 / 1.383 GB, free: 11.24 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat does not exist to compare? outputFormat=mat