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.442/2.442, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001096/0.001097, allocations: 188 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0009129/0.000913, allocations: 87.97 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.656e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2879, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.289, allocations: 149.8 MB / 1.365 GB, free: 4.199 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/1.289, allocations: 60.72 kB / 1.365 GB, free: 4.168 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003278/1.293, allocations: 1.107 MB / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.873e-06/1.293, allocations: 0 / 1.366 GB, free: 3.188 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.293, allocations: 0 / 1.366 GB, free: 3.188 MB / 0.823 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.0004985/1.293, allocations: 354.5 kB / 1.367 GB, free: 2.801 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/1.293, allocations: 12.03 kB / 1.367 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.563e-05/1.293, allocations: 30.56 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.77e-05/1.293, allocations: 7.984 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/1.294, allocations: 185.9 kB / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/1.294, allocations: 0 / 1.367 GB, free: 2.523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/1.294, allocations: 4 kB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/1.294, allocations: 51.94 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/1.294, allocations: 0 / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/1.294, allocations: 0 / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.294, allocations: 0 / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/1.294, allocations: 23.75 kB / 1.367 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/1.295, allocations: 308.8 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/1.295, allocations: 76.23 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.466e-05/1.295, allocations: 12.36 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/1.295, allocations: 4 kB / 1.367 GB, free: 2.039 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.295, allocations: 39.45 kB / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.295, allocations: 0 / 1.367 GB, free: 1.992 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/1.295, allocations: 52.31 kB / 1.367 GB, free: 1.941 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/1.295, allocations: 55.39 kB / 1.367 GB, free: 1.875 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.295, allocations: 111.4 kB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/1.296, allocations: 27.67 kB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/1.296, allocations: 99.19 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/1.296, allocations: 7.812 kB / 1.368 GB, free: 1.633 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/1.296, allocations: 7.438 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.296, allocations: 314.8 kB / 1.368 GB, free: 1.312 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.128e-05/1.296, allocations: 10.81 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.439e-05/1.296, allocations: 29.34 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/1.296, allocations: 11.56 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.296, allocations: 0 / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001138/1.296, allocations: 56.44 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.296, allocations: 8 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.296, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.296, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/1.296, allocations: 10.98 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.296, allocations: 3.953 kB / 1.368 GB, free: 1.195 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/1.296, allocations: 15.97 kB / 1.368 GB, free: 1.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/1.296, allocations: 4 kB / 1.368 GB, free: 1.176 MB / 0.823 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 () * 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.477e-05/1.296, allocations: 108.9 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/1.296, allocations: 8.094 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.083e-05/1.297, allocations: 11.45 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.297, allocations: 3.375 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.297, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.297, allocations: 7.953 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/1.297, allocations: 176.3 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/1.297, allocations: 3.938 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/1.297, allocations: 8 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.297, allocations: 0 / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/1.297, allocations: 3.984 kB / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.297, allocations: 0 / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.297, allocations: 0 / 1.368 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/1.297, allocations: 151 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/1.297, allocations: 84.23 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.297, allocations: 4 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/1.297, allocations: 7.984 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/1.297, allocations: 7.984 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.297, allocations: 0 / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.709e-05/1.297, allocations: 94.41 kB / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.297, allocations: 0 / 1.369 GB, free: 460 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002201/1.298, allocations: 8 kB / 1.369 GB, free: 452 kB / 0.823 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) * 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.0005534/1.298, allocations: 0.6917 MB / 1.369 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.298, allocations: 23.25 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.298, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/1.298, allocations: 19.86 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/1.299, allocations: 9.688 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/1.299, allocations: 121.2 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/1.299, allocations: 0.6887 MB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.144e-05/1.299, allocations: 0 / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.792e-05/1.3, allocations: 23.05 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/1.3, allocations: 0 / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/1.314, allocations: 1.46 MB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.314, allocations: 154.3 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.862, allocations: 4 kB / 1.372 GB, free: 13.26 MB / 0.8386 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