Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.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.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax",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.438/2.438, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001152/0.001151, allocations: 182.5 kB / 0.4901 GB, free: 2.281 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.583/1.583, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0009207/0.0009206, allocations: 100.7 kB / 0.9396 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003787, allocations: 13.81 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2802, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1857/0.466, allocations: 149.4 MB / 1.375 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4662, allocations: 71.91 kB / 1.375 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005661/0.4719, allocations: 2.307 MB / 1.378 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4719, allocations: 0 / 1.378 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.472, allocations: 8 kB / 1.378 GB, free: 1.676 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006355/0.4726, allocations: 466.9 kB / 1.378 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.4727, allocations: 12.03 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.4728, allocations: 54.55 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.4729, allocations: 27.62 kB / 1.378 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.4733, allocations: 270.5 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.4733, allocations: 16.44 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.4734, allocations: 24 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.4739, allocations: 337.1 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4739, allocations: 0 / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.4739, allocations: 12 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4739, allocations: 8 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.4743, allocations: 227.8 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.4758, allocations: 1.414 MB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.4759, allocations: 169.1 kB / 1.38 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.476, allocations: 79.27 kB / 1.381 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.476, allocations: 113.8 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.476, allocations: 0 / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001058/0.4761, allocations: 49.42 kB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.4762, allocations: 130.6 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005011/0.4767, allocations: 467.5 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4767, allocations: 25.7 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4769, allocations: 176 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.4769, allocations: 4 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.4769, allocations: 4 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.477, allocations: 338.8 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.4771, allocations: 51.89 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.4772, allocations: 89.95 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.4773, allocations: 59.97 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4773, allocations: 4 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003009/0.4776, allocations: 185.1 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4776, allocations: 4.219 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4777, allocations: 8 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4777, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.4778, allocations: 19.98 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.4778, allocations: 4 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.755e-05/0.4779, allocations: 35.64 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.4779, allocations: 15.98 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 0.0001903/0.4781, allocations: 250.5 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/0.4782, allocations: 128.7 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.4783, allocations: 142.7 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/0.4784, allocations: 180.2 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.31e-05/0.4785, allocations: 176.3 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/0.4785, allocations: 188.2 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.4789, allocations: 0.4893 MB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/0.4789, allocations: 105 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.479, allocations: 104.9 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.656e-05/0.479, allocations: 176.3 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.4791, allocations: 184.2 kB / 1.384 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.427e-05/0.4792, allocations: 176.3 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.164e-05/0.4792, allocations: 184.2 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.4794, allocations: 331.3 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.4796, allocations: 229.7 kB / 1.385 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4797, allocations: 184.2 kB / 1.385 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4798, allocations: 105 kB / 1.385 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.632e-05/0.4799, allocations: 192.2 kB / 1.386 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.48, allocations: 101 kB / 1.386 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003831/0.4804, allocations: 363 kB / 1.386 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4804, allocations: 3.938 kB / 1.386 GB, free: 8.414 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00027/0.4807, allocations: 24 kB / 1.386 GB, free: 8.391 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004704/0.4811, allocations: 0.8361 MB / 1.387 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4813, allocations: 63.89 kB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4813, allocations: 0 / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.4813, allocations: 16 / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.4818, allocations: 0.5473 MB / 1.388 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.4843, allocations: 2.562 MB / 1.39 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.4847, allocations: 0.7752 MB / 1.391 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.4849, allocations: 53.53 kB / 1.391 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.485, allocations: 63.41 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/0.485, allocations: 0 / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.5036, allocations: 4.148 MB / 1.395 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/0.504, allocations: 197.7 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.491, allocations: 0 / 1.395 GB, free: 15.11 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax_res.mat does not exist to compare? outputFormat=mat