Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.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_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",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.373/2.373, 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.00109/0.00109, allocations: 175.4 kB / 0.4901 GB, free: 2.234 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.7992 GB, free: 14.75 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.001006/0.001006, allocations: 102.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 11.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.293, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.4857, allocations: 149.6 MB / 1.375 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4859, allocations: 63.95 kB / 1.375 GB, free: 3.793 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00268/0.4886, allocations: 1.088 MB / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.305e-06/0.4887, allocations: 0 / 1.377 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.4887, allocations: 0 / 1.377 GB, free: 2.703 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.0003969/0.4891, allocations: 375.2 kB / 1.377 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4892, allocations: 16.48 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.4892, allocations: 34.56 kB / 1.377 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.4893, allocations: 15.86 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4894, allocations: 174.9 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4894, allocations: 8 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.4895, allocations: 8 kB / 1.377 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4896, allocations: 93.52 kB / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4897, allocations: 0 / 1.377 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.4897, allocations: 8 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4897, allocations: 0 / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.461e-05/0.4898, allocations: 31.98 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005962/0.4904, allocations: 460.5 kB / 1.378 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.278e-05/0.4904, allocations: 41.19 kB / 1.378 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.4904, allocations: 8.125 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4905, allocations: 30.56 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.4905, allocations: 0 / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.4907, allocations: 53.53 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.4907, allocations: 77.11 kB / 1.378 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4909, allocations: 148.9 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.4909, allocations: 33.7 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.491, allocations: 100 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.491, allocations: 7.844 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-06/0.491, allocations: 0 / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4911, allocations: 332.3 kB / 1.378 GB, free: 464 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.4911, allocations: 4 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.383e-05/0.4912, allocations: 21.72 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.4912, allocations: 12 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4912, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.919e-05/0.4913, allocations: 61.53 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4913, allocations: 4 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4913, allocations: 0 / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4914, allocations: 0 / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.4914, allocations: 11.94 kB / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4915, allocations: 0 / 1.379 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.4915, allocations: 7.906 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4915, allocations: 15.98 kB / 1.379 GB, free: 312 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 7.613e-05/0.4916, allocations: 117.8 kB / 1.379 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.4916, allocations: 7.906 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.317e-05/0.4917, allocations: 3.875 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4917, allocations: 4 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4917, allocations: 0 / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4917, allocations: 4 kB / 1.379 GB, free: 168 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.4921, allocations: 478.8 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4921, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.4921, allocations: 4 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4922, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4922, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4922, allocations: 0 / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4922, allocations: 7.984 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.4923, allocations: 99.56 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.4923, allocations: 85.02 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.4924, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.4924, allocations: 0 / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.4924, allocations: 3.984 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4924, allocations: 8 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.03e-05/0.4925, allocations: 123.2 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4925, allocations: 4.031 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001847/0.4927, allocations: 7.938 kB / 1.38 GB, free: 15.25 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.0003952/0.4931, allocations: 0.6884 MB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.4932, allocations: 23.97 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4932, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.4932, allocations: 8 kB / 1.38 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.4934, allocations: 7.891 kB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.4943, allocations: 0.7107 MB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4945, allocations: 0.7004 MB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.4946, allocations: 4.438 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.4946, allocations: 23.42 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.4946, allocations: 0 / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.5091, allocations: 1.48 MB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/0.5094, allocations: 199 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.07, allocations: 0 / 1.383 GB, free: 11.38 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat does not exist to compare? outputFormat=mat