Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.243/2.243, 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.001097/0.001097, allocations: 191.5 kB / 0.4901 GB, free: 2.227 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.656/1.656, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0008957/0.0008958, allocations: 92.28 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 10.81 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3041, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.4881, allocations: 149.6 MB / 1.375 GB, free: 3.816 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4883, allocations: 67.91 kB / 1.375 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002816/0.4912, allocations: 1.052 MB / 1.376 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4912, allocations: 0 / 1.376 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.4912, allocations: 4 kB / 1.376 GB, free: 2.691 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003937/0.4916, allocations: 347.3 kB / 1.377 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4916, allocations: 12.5 kB / 1.377 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.4917, allocations: 34.56 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.4917, allocations: 7.906 kB / 1.377 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4919, allocations: 163 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4919, allocations: 4 kB / 1.377 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4919, allocations: 0 / 1.377 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4921, allocations: 53.67 kB / 1.377 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4921, allocations: 7.938 kB / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4921, allocations: 0 / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4921, allocations: 0 / 1.377 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.4923, allocations: 47.95 kB / 1.377 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4928, allocations: 260.9 kB / 1.377 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.4929, allocations: 48.28 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.4929, allocations: 0 / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.493, allocations: 34.5 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.493, allocations: 4.062 kB / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003641/0.4933, allocations: 97.64 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4934, allocations: 51.41 kB / 1.378 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4935, allocations: 92.95 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.4935, allocations: 25.83 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.4936, allocations: 92.12 kB / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.4936, allocations: 7.906 kB / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.4936, allocations: 0 / 1.378 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4938, allocations: 310.8 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.4939, allocations: 23.98 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.4939, allocations: 23.97 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.494, allocations: 27.92 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.494, allocations: 0 / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001902/0.4942, allocations: 73.73 kB / 1.378 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4943, allocations: 4 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4943, allocations: 3.984 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4943, allocations: 0 / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.4944, allocations: 8 kB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4944, allocations: 4 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.4945, allocations: 19.86 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4945, allocations: 3.953 kB / 1.378 GB, free: 0.6172 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 (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 prepare postOptimizeDAE: time 0.0001037/0.4946, allocations: 117.8 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4946, allocations: 0 / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.4946, allocations: 3.125 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4946, allocations: 4.172 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4947, allocations: 0 / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4947, allocations: 7.984 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.4949, allocations: 161.6 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4949, allocations: 4 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.077e-05/0.4949, allocations: 19.92 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4949, allocations: 0 / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.495, allocations: 0 / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.495, allocations: 0 / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.495, allocations: 0 / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.4952, allocations: 179.5 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.4953, allocations: 77.11 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4953, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.4954, allocations: 11.98 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.4955, allocations: 4.031 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.4955, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.4955, allocations: 87.27 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4955, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001956/0.4957, allocations: 4 kB / 1.379 GB, free: 15.86 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 (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.000563/0.4963, allocations: 0.7131 MB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.4965, allocations: 48 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4965, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.4966, allocations: 27.97 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.4968, allocations: 3.938 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.4972, allocations: 145.2 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4976, allocations: 0.6809 MB / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.4976, allocations: 0 / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.4976, allocations: 7.438 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/0.4976, allocations: 0 / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.509, allocations: 0.989 MB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.5092, allocations: 186.6 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.082, allocations: 1.625 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat does not exist to compare? outputFormat=mat