Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.7/2.7, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001103/0.001103, allocations: 183.3 kB / 0.4901 GB, free: 2.238 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.498/1.498, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.0009872/0.0009872, allocations: 96.27 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004198, allocations: 17.61 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1997/0.4946, allocations: 149.6 MB / 1.375 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.495, allocations: 63.97 kB / 1.375 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003238/0.4982, allocations: 0.8097 MB / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.116e-06/0.4983, allocations: 0 / 1.376 GB, free: 3.016 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.4983, allocations: 0 / 1.376 GB, free: 3.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007649/0.4991, allocations: 367.2 kB / 1.377 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.586e-05/0.4992, allocations: 12.5 kB / 1.377 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.4992, allocations: 42.55 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.4993, allocations: 0 / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.4995, allocations: 174.9 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4995, allocations: 0 / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.4996, allocations: 4 kB / 1.377 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.4999, allocations: 82.55 kB / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5, allocations: 0 / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.5, allocations: 0 / 1.377 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.5, allocations: 11.92 kB / 1.377 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.5005, allocations: 79.94 kB / 1.377 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/0.5012, allocations: 308.9 kB / 1.377 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.5015, allocations: 62.55 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.5015, allocations: 4 kB / 1.377 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.5016, allocations: 34.5 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.5016, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0007884/0.5024, allocations: 165.6 kB / 1.378 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5025, allocations: 55.36 kB / 1.378 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.5026, allocations: 101 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.5026, allocations: 29.7 kB / 1.378 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.5027, allocations: 84.14 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5027, allocations: 3.906 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.5027, allocations: 0 / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5029, allocations: 326.8 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5031, allocations: 39.97 kB / 1.378 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.5033, allocations: 43.95 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.5035, allocations: 43.91 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5035, allocations: 0 / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004698/0.504, allocations: 121.5 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.504, allocations: 4 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5041, allocations: 7.938 kB / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5041, allocations: 0 / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.5043, allocations: 23.97 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5043, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.5044, allocations: 23.88 kB / 1.378 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5045, allocations: 8 kB / 1.378 GB, free: 0.5781 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 (3): * Single equations (assignments): 3 * 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.234e-05/0.5046, allocations: 113.8 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.5046, allocations: 4 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.5047, allocations: 7.906 kB / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5047, allocations: 0 / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5047, allocations: 0 / 1.379 GB, free: 456 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5047, allocations: 4.312 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.505, allocations: 169.6 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.505, allocations: 3.938 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.5051, allocations: 23.98 kB / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5051, allocations: 0 / 1.379 GB, free: 204 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5052, allocations: 4 kB / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.5052, allocations: 0 / 1.379 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.5052, allocations: 7.984 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.5058, allocations: 219.3 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.5058, allocations: 77.11 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.5059, allocations: 4 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.5061, allocations: 19.98 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.511e-05/0.5061, allocations: 3.984 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.5061, allocations: 8 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.395e-05/0.5062, allocations: 91.56 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5062, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003543/0.5066, allocations: 8 kB / 1.379 GB, free: 15.73 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 (3): * Single equations (assignments): 3 * 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.00107/0.5077, allocations: 0.756 MB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.508, allocations: 87.92 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.508, allocations: 0 / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.5082, allocations: 55.89 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5085, allocations: 8 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.509, allocations: 160.1 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5092, allocations: 0.6848 MB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.5093, allocations: 0 / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.5093, allocations: 19.36 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.5094, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.522, allocations: 1.277 MB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.5223, allocations: 186.2 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.162, allocations: 4 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat does not exist to compare? outputFormat=mat