Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.308/2.308, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001259/0.001259, allocations: 179.6 kB / 0.4901 GB, free: 2.254 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.635/1.635, 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.0008897/0.0008895, allocations: 104.1 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 16.27 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3084, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.4909, allocations: 149.2 MB / 1.375 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4912, allocations: 59.97 kB / 1.375 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0017/0.4929, allocations: 0.6889 MB / 1.376 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4929, allocations: 3.938 kB / 1.376 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.4929, allocations: 3.938 kB / 1.376 GB, free: 3.484 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003223/0.4933, allocations: 352.2 kB / 1.376 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4933, allocations: 12.02 kB / 1.376 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.4934, allocations: 38.56 kB / 1.376 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.232e-05/0.4934, allocations: 7.859 kB / 1.376 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.4936, allocations: 183 kB / 1.376 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.4937, allocations: 4 kB / 1.376 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4937, allocations: 4 kB / 1.376 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4938, allocations: 77.66 kB / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4939, allocations: 0 / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4939, allocations: 0 / 1.376 GB, free: 2.719 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.4939, allocations: 4 kB / 1.376 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.494, allocations: 47.91 kB / 1.376 GB, free: 2.668 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.4945, allocations: 491 kB / 1.377 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.4947, allocations: 177 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.4947, allocations: 75.28 kB / 1.377 GB, free: 1.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.4947, allocations: 109.8 kB / 1.377 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.4948, allocations: 4 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.034e-05/0.4948, allocations: 29.61 kB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.4949, allocations: 130.7 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.4951, allocations: 161.1 kB / 1.378 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.4951, allocations: 29.64 kB / 1.378 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4952, allocations: 100 kB / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.4952, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.4952, allocations: 0 / 1.378 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4953, allocations: 320.4 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.4953, allocations: 7.984 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.4953, allocations: 7.984 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.832e-05/0.4954, allocations: 8.062 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4954, allocations: 4 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001251/0.4955, allocations: 53.64 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4955, allocations: 7.984 kB / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4955, allocations: 0 / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.4955, allocations: 0 / 1.378 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.4956, allocations: 4 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4956, allocations: 0 / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.4957, allocations: 11.84 kB / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.4957, allocations: 0 / 1.378 GB, free: 0.8477 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.0001114/0.4958, allocations: 205.6 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.4959, allocations: 113 kB / 1.378 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.4959, allocations: 116.6 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/0.496, allocations: 184.2 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/0.4961, allocations: 184.2 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.692e-05/0.4961, allocations: 184.2 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.4964, allocations: 417.2 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.4964, allocations: 109 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.479e-05/0.4965, allocations: 108.9 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-05/0.4966, allocations: 176.3 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-05/0.4967, allocations: 184.2 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.668e-05/0.4967, allocations: 184.3 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.569e-05/0.4968, allocations: 176.3 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.497, allocations: 311.7 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.4971, allocations: 189.9 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.4972, allocations: 192.2 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.4973, allocations: 104.9 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.4974, allocations: 184.2 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.4974, allocations: 101 kB / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4975, allocations: 132.6 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4975, allocations: 0 / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002353/0.4978, allocations: 4 kB / 1.382 GB, free: 13.14 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.0004542/0.4982, allocations: 0.8168 MB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.4983, allocations: 8 kB / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4983, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.4983, allocations: 0 / 1.382 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4987, allocations: 0.5442 MB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007706/0.4995, allocations: 0.5793 MB / 1.383 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.4998, allocations: 0.6926 MB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.4998, allocations: 7.984 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.4999, allocations: 15.44 kB / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of SimCode: time 4.348e-06/0.4999, allocations: 0 / 1.384 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01192/0.5118, allocations: 1.381 MB / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.512, allocations: 192.2 kB / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.08, allocations: 4 kB / 1.386 GB, free: 8.891 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat does not exist to compare? outputFormat=mat