Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.544/2.544, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.00175/0.00175, allocations: 175.9 kB / 0.4901 GB, free: 2.258 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.625/1.625, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001468/0.001469, allocations: 100.3 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003754, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.4966, allocations: 149.6 MB / 1.375 GB, free: 3.82 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.4969, allocations: 67.95 kB / 1.375 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002525/0.4994, allocations: 1.08 MB / 1.376 GB, free: 2.672 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4994, allocations: 4 kB / 1.376 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.4994, allocations: 4 kB / 1.377 GB, free: 2.664 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.0003953/0.4998, allocations: 371.2 kB / 1.377 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4999, allocations: 16.44 kB / 1.377 GB, free: 2.238 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.4999, allocations: 42.56 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.5, allocations: 11.86 kB / 1.377 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.5001, allocations: 174.9 kB / 1.377 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5002, allocations: 4 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.5002, allocations: 12 kB / 1.377 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.5004, allocations: 97.52 kB / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.5004, allocations: 0 / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.5004, allocations: 0 / 1.377 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.5004, allocations: 4 kB / 1.377 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.738e-05/0.5005, allocations: 35.98 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.5011, allocations: 456.5 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.322e-05/0.5011, allocations: 45.23 kB / 1.378 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.5011, allocations: 4 kB / 1.378 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.5012, allocations: 30.56 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5012, allocations: 0 / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.5014, allocations: 53.59 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.5014, allocations: 81.11 kB / 1.378 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.5016, allocations: 149 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5016, allocations: 25.95 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5016, allocations: 109.7 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.5017, allocations: 11.83 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5017, allocations: 0 / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5018, allocations: 326.8 kB / 1.378 GB, free: 420 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.5018, allocations: 8 kB / 1.378 GB, free: 412 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.5018, allocations: 13.72 kB / 1.378 GB, free: 392 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.5019, allocations: 11.98 kB / 1.379 GB, free: 380 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5019, allocations: 4 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.938e-05/0.502, allocations: 61.55 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.502, allocations: 4 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.502, allocations: 0 / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.502, allocations: 4 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.951e-05/0.5021, allocations: 11.92 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5021, allocations: 0 / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.5022, allocations: 7.906 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5022, allocations: 0 / 1.379 GB, free: 280 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.43e-05/0.5023, allocations: 125.8 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.5023, allocations: 7.906 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.5023, allocations: 11.88 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5023, allocations: 0 / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5024, allocations: 0 / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5024, allocations: 3.984 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.5027, allocations: 474.8 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5027, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.5028, allocations: 4 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5028, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.5028, allocations: 4 kB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5028, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5028, allocations: 0 / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.22e-05/0.5029, allocations: 95.62 kB / 1.379 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.503, allocations: 88.95 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.503, allocations: 3.984 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.503, allocations: 0 / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.503, allocations: 4 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.503, allocations: 0 / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.446e-05/0.5031, allocations: 127.2 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5031, allocations: 0 / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000181/0.5033, allocations: 11.94 kB / 1.38 GB, free: 15.21 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.000354/0.5037, allocations: 0.6923 MB / 1.38 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.389e-05/0.5038, allocations: 23.97 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5038, allocations: 0 / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.5038, allocations: 4 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.5039, allocations: 12.98 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008031/0.5047, allocations: 0.7017 MB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.505, allocations: 0.7004 MB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.505, allocations: 12.42 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.5051, allocations: 23.44 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5051, allocations: 0 / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.5177, allocations: 1.473 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.5179, allocations: 202.6 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.062, allocations: 0 / 1.383 GB, free: 11.34 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat does not exist to compare? outputFormat=mat