Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.355/2.355, 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.001106/0.001106, allocations: 176 kB / 0.4901 GB, free: 2.242 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0008971/0.0008971, allocations: 102.9 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3061, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.5005, allocations: 149.6 MB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5008, allocations: 63.97 kB / 1.375 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002518/0.5033, allocations: 1.088 MB / 1.377 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5033, allocations: 0 / 1.377 GB, free: 2.711 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5033, allocations: 224 / 1.377 GB, free: 2.711 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.0003789/0.5037, allocations: 371 kB / 1.377 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5038, allocations: 8.562 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.5038, allocations: 42.55 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.5039, allocations: 15.86 kB / 1.377 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.504, allocations: 178.9 kB / 1.377 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.504, allocations: 4 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.5041, allocations: 8 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.5042, allocations: 97.19 kB / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.5043, allocations: 0 / 1.377 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.5043, allocations: 3.984 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5043, allocations: 4 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.5044, allocations: 35.98 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.505, allocations: 452.5 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.996e-05/0.5051, allocations: 45.2 kB / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.5051, allocations: 0 / 1.378 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.5051, allocations: 34.59 kB / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5051, allocations: 0 / 1.378 GB, free: 1.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.5053, allocations: 53.83 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.5054, allocations: 81.14 kB / 1.378 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.5056, allocations: 153.2 kB / 1.378 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.5056, allocations: 29.64 kB / 1.378 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.5057, allocations: 101.7 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.5057, allocations: 11.84 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5057, allocations: 0 / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5058, allocations: 318.8 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.5059, allocations: 11.98 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.5059, allocations: 21.72 kB / 1.378 GB, free: 440 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.5059, allocations: 12 kB / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5059, allocations: 0 / 1.379 GB, free: 428 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.506, allocations: 57.53 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.506, allocations: 4 kB / 1.379 GB, free: 360 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5061, allocations: 8 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5061, allocations: 3.938 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.5062, allocations: 8.062 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.5062, allocations: 3.984 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.5062, allocations: 11.91 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.5062, allocations: 0 / 1.379 GB, free: 324 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 9.364e-05/0.5063, allocations: 117.8 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.5064, allocations: 7.906 kB / 1.379 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.5064, allocations: 11.86 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5064, allocations: 3.938 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5064, allocations: 0 / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5064, allocations: 8 kB / 1.379 GB, free: 168 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.5069, allocations: 462.8 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5069, allocations: 7.938 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.5069, allocations: 3.984 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5069, allocations: 4 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.5069, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5069, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5069, allocations: 64 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.5071, allocations: 91.58 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.5071, allocations: 89 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.5071, allocations: 0 / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.5072, allocations: 4 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.5072, allocations: 4.031 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.5072, allocations: 3.938 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001025/0.5073, allocations: 127.2 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5073, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001803/0.5075, allocations: 11.94 kB / 1.38 GB, free: 15.26 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.000448/0.508, allocations: 0.6923 MB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.508, allocations: 23.86 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.508, allocations: 0 / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/0.5081, allocations: 4 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.5082, allocations: 11.95 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.5091, allocations: 0.7089 MB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5094, allocations: 0.6965 MB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.5095, allocations: 4.438 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.479e-05/0.5095, allocations: 23.42 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.5095, allocations: 0 / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.5222, allocations: 1.472 MB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.5225, allocations: 188.7 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.013, allocations: 3.375 kB / 1.383 GB, free: 11.4 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat does not exist to compare? outputFormat=mat