Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.159/2.159, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001106/0.001106, allocations: 180.9 kB / 496.1 MB, free: 12.88 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.596/1.596, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008435/0.0008435, allocations: 87.94 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.207e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.398, allocations: 149.6 MB / 1.365 GB, free: 4.098 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.399, allocations: 64.2 kB / 1.365 GB, free: 4.062 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003356/1.402, allocations: 1.287 MB / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.774e-06/1.402, allocations: 0 / 1.366 GB, free: 2.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.402, allocations: 4 kB / 1.366 GB, free: 2.926 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004281/1.402, allocations: 377.3 kB / 1.367 GB, free: 2.516 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.402, allocations: 8.031 kB / 1.367 GB, free: 2.508 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/1.403, allocations: 40.94 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/1.403, allocations: 11.81 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/1.403, allocations: 185.9 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.403, allocations: 7.062 kB / 1.367 GB, free: 2.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.403, allocations: 4 kB / 1.367 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/1.403, allocations: 107.2 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.403, allocations: 4 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.403, allocations: 3.875 kB / 1.367 GB, free: 2.133 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.056e-06/1.403, allocations: 4 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/1.403, allocations: 52.27 kB / 1.367 GB, free: 2.094 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/1.404, allocations: 488 kB / 1.368 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/1.404, allocations: 52.47 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/1.404, allocations: 32.47 kB / 1.368 GB, free: 1.516 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/1.404, allocations: 4 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.404, allocations: 30.56 kB / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/1.404, allocations: 448 / 1.368 GB, free: 1.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001875/1.404, allocations: 68.34 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.404, allocations: 77.11 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/1.405, allocations: 159.3 kB / 1.368 GB, free: 1.164 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/1.405, allocations: 33.62 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/1.405, allocations: 102.1 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/1.405, allocations: 19.42 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.405, allocations: 0 / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.405, allocations: 322.5 kB / 1.368 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/1.405, allocations: 10.62 kB / 1.368 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/1.405, allocations: 24.66 kB / 1.368 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/1.405, allocations: 15.44 kB / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.405, allocations: 0 / 1.368 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001153/1.405, allocations: 71.34 kB / 1.368 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.405, allocations: 7.984 kB / 1.368 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/1.405, allocations: 128 / 1.368 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.405, allocations: 4 kB / 1.368 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.812e-05/1.405, allocations: 12 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.405, allocations: 0 / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/1.405, allocations: 15.22 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/1.405, allocations: 4 kB / 1.369 GB, free: 0.5469 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 (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 7.546e-05/1.405, allocations: 108.9 kB / 1.369 GB, free: 444 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/1.406, allocations: 7.906 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/1.406, allocations: 18.42 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.406, allocations: 4 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.406, allocations: 0 / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.406, allocations: 0 / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/1.406, allocations: 0.5145 MB / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.406, allocations: 0 / 1.369 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/1.406, allocations: 8 kB / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.406, allocations: 0 / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.406, allocations: 0 / 1.369 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.406, allocations: 4 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.406, allocations: 3.984 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.406, allocations: 142.8 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.406, allocations: 100.8 kB / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/1.406, allocations: 4 kB / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/1.407, allocations: 0 / 1.369 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/1.407, allocations: 12.12 kB / 1.369 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.407, allocations: 3.984 kB / 1.369 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001327/1.407, allocations: 133.6 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.407, allocations: 0 / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001974/1.407, allocations: 11.94 kB / 1.37 GB, free: 15.41 MB / 0.8386 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 () * 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.0005437/1.407, allocations: 0.8853 MB / 1.37 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000105/1.408, allocations: 26.5 kB / 1.37 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.408, allocations: 4 kB / 1.37 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/1.408, allocations: 11.38 kB / 1.37 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/1.408, allocations: 17.2 kB / 1.37 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/1.408, allocations: 176.8 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/1.409, allocations: 0.7046 MB / 1.371 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.978e-05/1.409, allocations: 12.55 kB / 1.371 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/1.409, allocations: 21.88 kB / 1.371 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/1.409, allocations: 0 / 1.371 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/1.423, allocations: 1.601 MB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.423, allocations: 159.4 kB / 1.373 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/3.139, allocations: 4 kB / 1.373 GB, free: 11.81 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat does not exist to compare? outputFormat=mat