Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.385/2.385, 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.001231/0.001231, allocations: 186.9 kB / 0.4902 GB, free: 2.258 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.53/1.53, 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.0008893/0.000889, allocations: 92.33 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 15.39 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.278, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.4917, allocations: 149.9 MB / 1.376 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4919, allocations: 67.95 kB / 1.376 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003141/0.4951, allocations: 1.096 MB / 1.377 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4951, allocations: 3.984 kB / 1.377 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4951, allocations: 8 kB / 1.377 GB, free: 2.438 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.0004461/0.4956, allocations: 363.1 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4957, allocations: 8.562 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.4957, allocations: 34.56 kB / 1.377 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.4957, allocations: 7.906 kB / 1.377 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.496, allocations: 178.9 kB / 1.377 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.496, allocations: 4 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.496, allocations: 8 kB / 1.377 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4962, allocations: 57.67 kB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.4962, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4962, allocations: 0 / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4962, allocations: 4 kB / 1.377 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4963, allocations: 35.92 kB / 1.377 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.4968, allocations: 304.8 kB / 1.378 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.4972, allocations: 94.44 kB / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4972, allocations: 0 / 1.378 GB, free: 1.199 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4972, allocations: 30.62 kB / 1.378 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4972, allocations: 4 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0002741/0.4975, allocations: 85.62 kB / 1.378 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4976, allocations: 51.41 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.4977, allocations: 116.9 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4977, allocations: 25.7 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.4978, allocations: 92.12 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.4978, allocations: 11.81 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-06/0.4978, allocations: 0 / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4979, allocations: 330.7 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.498, allocations: 12 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.4981, allocations: 35.55 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.84e-05/0.4981, allocations: 23.92 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4982, allocations: 0 / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001616/0.4983, allocations: 65.72 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4983, allocations: 4 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4984, allocations: 4 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4984, allocations: 0 / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.4984, allocations: 7.984 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4985, allocations: 3.953 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.4985, allocations: 15.92 kB / 1.379 GB, free: 240 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4986, allocations: 8 kB / 1.379 GB, free: 232 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.shaH.hys.y,shaH.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 8.398e-05/0.4986, allocations: 113.8 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.4987, allocations: 3.906 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.4987, allocations: 11.91 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4987, allocations: 0 / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4987, allocations: 0 / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4987, allocations: 3.953 kB / 1.379 GB, free: 88 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.4989, allocations: 181.7 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.499, allocations: 0 / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.145e-05/0.499, allocations: 11.98 kB / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.499, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.499, allocations: 0 / 1.379 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.499, allocations: 4 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.499, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.4993, allocations: 167.3 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.4993, allocations: 85.48 kB / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4993, allocations: 0 / 1.379 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.4994, allocations: 11.98 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.4995, allocations: 7.984 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4995, allocations: 4 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.4996, allocations: 91.27 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4996, allocations: 0 / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002168/0.4998, allocations: 8 kB / 1.379 GB, free: 15.44 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0005354/0.5003, allocations: 0.7014 MB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.5005, allocations: 51.84 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5005, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.5006, allocations: 16 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.5008, allocations: 11.92 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.5017, allocations: 0.5136 MB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.502, allocations: 0.6926 MB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.502, allocations: 4 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.5021, allocations: 19.5 kB / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/0.5021, allocations: 0 / 1.381 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.5154, allocations: 1.457 MB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/0.5157, allocations: 186.8 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.025, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat