Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.501/2.501, 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.001331/0.001331, allocations: 175.5 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.579/1.579, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001261/0.00126, allocations: 98.66 kB / 0.9396 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004024, allocations: 14.31 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.4798, allocations: 149.6 MB / 1.375 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.4801, allocations: 67.97 kB / 1.375 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002332/0.4824, allocations: 0.8058 MB / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4824, allocations: 0 / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.4825, allocations: 0 / 1.376 GB, free: 2.855 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.0005177/0.483, allocations: 375.2 kB / 1.377 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.483, allocations: 12.56 kB / 1.377 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.4831, allocations: 30.56 kB / 1.377 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.4831, allocations: 4 kB / 1.377 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4833, allocations: 170.9 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4833, allocations: 0 / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.4833, allocations: 4 kB / 1.377 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.4836, allocations: 90.44 kB / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4836, allocations: 0 / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4836, allocations: 0 / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4837, allocations: 0 / 1.377 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.484, allocations: 87.92 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.4846, allocations: 300.9 kB / 1.377 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.4848, allocations: 66.64 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4848, allocations: 7.922 kB / 1.377 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4849, allocations: 30.56 kB / 1.377 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.4849, allocations: 0 / 1.377 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005554/0.4854, allocations: 165.5 kB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.4855, allocations: 55.36 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.4856, allocations: 101 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.4856, allocations: 25.7 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.4856, allocations: 84.14 kB / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.4857, allocations: 15.89 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4857, allocations: 4 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4858, allocations: 310.8 kB / 1.378 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.4859, allocations: 39.97 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4861, allocations: 55.83 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.4862, allocations: 35.97 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4863, allocations: 8 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.4866, allocations: 117.5 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4866, allocations: 11.98 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.4866, allocations: 0 / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4867, allocations: 0 / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4868, allocations: 23.98 kB / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4868, allocations: 320 / 1.378 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.4869, allocations: 31.88 kB / 1.378 GB, free: 428 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.4869, allocations: 3.938 kB / 1.378 GB, free: 424 kB / 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 8.769e-05/0.487, allocations: 105.8 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.4871, allocations: 4 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.4871, allocations: 12.22 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4871, allocations: 3.938 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4871, allocations: 4 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4871, allocations: 3.984 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.4873, allocations: 173.6 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4873, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.4874, allocations: 19.97 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4875, allocations: 4 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4875, allocations: 0 / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4875, allocations: 0 / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4875, allocations: 3.984 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.4879, allocations: 223.3 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4879, allocations: 77.11 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.488, allocations: 3.984 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4881, allocations: 15.98 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.4881, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4881, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.588e-05/0.4882, allocations: 95.2 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4882, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002408/0.4885, allocations: 4 kB / 1.379 GB, free: 15.57 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.0006782/0.4891, allocations: 0.7522 MB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.4895, allocations: 87.92 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4895, allocations: 1.625 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4897, allocations: 55.91 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.4899, allocations: 12.39 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.4903, allocations: 166.5 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4906, allocations: 0.6848 MB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.4906, allocations: 0 / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.4907, allocations: 15.44 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.4907, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.5034, allocations: 1.268 MB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5036, allocations: 177.5 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.018, allocations: 0 / 1.382 GB, free: 12.34 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat