Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.54/2.54, allocations: 390.3 MB / 402.8 MB, free: 6.75 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.001046/0.001046, allocations: 176.9 kB / 496.1 MB, free: 12.91 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.518/1.518, allocations: 221.3 MB / 0.7915 GB, free: 5.492 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.0009048/0.0009049, allocations: 95.89 kB / 0.9317 GB, free: 5.793 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.397e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.354, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.068/1.422, allocations: 149.6 MB / 1.365 GB, free: 4.465 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.423, allocations: 70.77 kB / 1.365 GB, free: 4.426 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002697/1.425, allocations: 1.085 MB / 1.366 GB, free: 3.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.163e-06/1.425, allocations: 4 kB / 1.366 GB, free: 3.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.126e-06/1.425, allocations: 0 / 1.366 GB, free: 3.461 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.0003859/1.426, allocations: 366.8 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/1.426, allocations: 12.03 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/1.426, allocations: 33.62 kB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/1.426, allocations: 11.86 kB / 1.366 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/1.426, allocations: 182.8 kB / 1.367 GB, free: 2.785 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.426, allocations: 8.438 kB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.426, allocations: 6.688 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/1.426, allocations: 92.72 kB / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.426, allocations: 0 / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.426, allocations: 0 / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.426, allocations: 0 / 1.367 GB, free: 2.695 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.381e-05/1.427, allocations: 44.19 kB / 1.367 GB, free: 2.664 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/1.427, allocations: 453.5 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.313e-05/1.427, allocations: 36.66 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/1.427, allocations: 21.84 kB / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.427, allocations: 0 / 1.367 GB, free: 2.125 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.427, allocations: 42.31 kB / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/1.427, allocations: 0 / 1.367 GB, free: 2.078 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.000164/1.428, allocations: 49.22 kB / 1.367 GB, free: 2.027 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/1.428, allocations: 77.11 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/1.428, allocations: 155.1 kB / 1.368 GB, free: 1.793 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.428, allocations: 25.7 kB / 1.368 GB, free: 1.762 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/1.428, allocations: 102.5 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/1.428, allocations: 11.09 kB / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/1.428, allocations: 0 / 1.368 GB, free: 1.656 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.428, allocations: 322.2 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/1.428, allocations: 7.125 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/1.428, allocations: 20.41 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.573e-05/1.428, allocations: 10.5 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.428, allocations: 0 / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.828e-05/1.428, allocations: 64.28 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.428, allocations: 4 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/1.428, allocations: 0 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.428, allocations: 96 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/1.428, allocations: 11.98 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.428, allocations: 0 / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.772e-05/1.428, allocations: 19.89 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/1.428, allocations: 224 / 1.368 GB, free: 1.203 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 7.563e-05/1.429, allocations: 108.8 kB / 1.368 GB, free: 1.094 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/1.429, allocations: 11.84 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/1.429, allocations: 7.656 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.429, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.429, allocations: 0 / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.429, allocations: 4 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/1.429, allocations: 478.2 kB / 1.369 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.429, allocations: 4 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/1.429, allocations: 0 / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/1.429, allocations: 4 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.429, allocations: 0 / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.429, allocations: 3.938 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.429, allocations: 0 / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.738e-05/1.429, allocations: 94.44 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/1.429, allocations: 88.08 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.429, allocations: 3.938 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/1.429, allocations: 4 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/1.429, allocations: 3.984 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/1.429, allocations: 3.953 kB / 1.369 GB, free: 324 kB / 0.823 GB Notification: Performance of sorting global known variables: time 9.439e-05/1.43, allocations: 120.8 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.43, allocations: 4 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001779/1.43, allocations: 8 kB / 1.369 GB, free: 208 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.0005075/1.43, allocations: 0.6926 MB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/1.43, allocations: 22.98 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.43, allocations: 0 / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/1.43, allocations: 6.562 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/1.431, allocations: 11.95 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/1.431, allocations: 134.4 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/1.431, allocations: 0.7007 MB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.447e-05/1.431, allocations: 8.422 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/1.431, allocations: 21.69 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of SimCode: time 1.192e-06/1.431, allocations: 0 / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/1.446, allocations: 1.465 MB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/1.447, allocations: 165 kB / 1.372 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/3.004, allocations: 0 / 1.372 GB, free: 13.02 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat does not exist to compare? outputFormat=mat