Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.602/2.602, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001307/0.001307, allocations: 183.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.57/1.57, 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.001081/0.001081, allocations: 92.28 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003922, allocations: 7.188 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.4623, allocations: 149.9 MB / 1.376 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.4625, allocations: 63.95 kB / 1.376 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003155/0.4657, allocations: 1.104 MB / 1.377 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4657, allocations: 0 / 1.377 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.4658, allocations: 0 / 1.377 GB, free: 2.469 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004195/0.4662, allocations: 371.1 kB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4662, allocations: 8.562 kB / 1.377 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.4663, allocations: 34.56 kB / 1.377 GB, free: 2.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.4663, allocations: 7.906 kB / 1.377 GB, free: 2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.4665, allocations: 174.9 kB / 1.377 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4665, allocations: 4 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.4665, allocations: 4 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4667, allocations: 61.66 kB / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.4667, allocations: 0 / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4667, allocations: 4 kB / 1.377 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4667, allocations: 4 kB / 1.377 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.4669, allocations: 35.92 kB / 1.377 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.4673, allocations: 300.8 kB / 1.378 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.4676, allocations: 90.45 kB / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4677, allocations: 0 / 1.378 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4677, allocations: 30.62 kB / 1.378 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.4677, allocations: 4 kB / 1.378 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002744/0.468, allocations: 81.62 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.468, allocations: 51.41 kB / 1.378 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.4681, allocations: 120.9 kB / 1.378 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4681, allocations: 25.7 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.4682, allocations: 92.12 kB / 1.378 GB, free: 0.7891 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.4682, allocations: 11.81 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.4682, allocations: 0 / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4683, allocations: 322.8 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.4684, allocations: 12 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.4685, allocations: 37.7 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.4685, allocations: 25.7 kB / 1.379 GB, free: 384 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4686, allocations: 0 / 1.379 GB, free: 384 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001523/0.4687, allocations: 61.69 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4687, allocations: 4 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4688, allocations: 4 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4688, allocations: 4.031 kB / 1.379 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.4689, allocations: 7.984 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4689, allocations: 7.891 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.469, allocations: 15.92 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.469, allocations: 4 kB / 1.379 GB, free: 268 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: 2 ($PRE.shaT.hys.y,shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.034e-05/0.4691, allocations: 113.8 kB / 1.379 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.4691, allocations: 8.234 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.4692, allocations: 11.91 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4692, allocations: 3.984 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4692, allocations: 4 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4692, allocations: 3.953 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.4694, allocations: 177.6 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4694, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.936e-05/0.4695, allocations: 7.984 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4695, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4695, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4695, allocations: 4 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4695, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.4697, allocations: 167.3 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.4697, allocations: 81.11 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.4698, allocations: 0 / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.4699, allocations: 15.98 kB / 1.379 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.4699, allocations: 7.984 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.4699, allocations: 4 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.47, allocations: 91.27 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.47, allocations: 0 / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002104/0.4702, allocations: 8 kB / 1.379 GB, free: 15.47 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: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * 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.0004423/0.4706, allocations: 0.7003 MB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.4708, allocations: 47.84 kB / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4708, allocations: 0 / 1.38 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.4709, allocations: 20 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.4711, allocations: 12.75 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.472, allocations: 0.5173 MB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.4723, allocations: 0.6887 MB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.4723, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.4724, allocations: 23.48 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of SimCode: time 2.11e-07/0.4724, allocations: 0 / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.4849, allocations: 1.46 MB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.4851, allocations: 187.8 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.108, allocations: 9.062 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat does not exist to compare? outputFormat=mat