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.433/2.433, allocations: 390.5 MB / 398 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.001062/0.001063, allocations: 184 kB / 491.2 MB, free: 1.594 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.587/1.587, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001171/0.001172, allocations: 90.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.346e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.312, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.337, allocations: 149.2 MB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/1.337, allocations: 62.42 kB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003299/1.34, allocations: 1.091 MB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.504e-06/1.34, allocations: 0.7969 kB / 1.359 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.34, allocations: 3.844 kB / 1.359 GB, free: 33.23 MB / 0.8386 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.0003119/1.341, allocations: 353.8 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/1.341, allocations: 7.922 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/1.341, allocations: 3.625 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.341, allocations: 175.5 kB / 1.36 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.341, allocations: 8.531 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/1.341, allocations: 0 / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.947e-05/1.341, allocations: 30.73 kB / 1.36 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/1.341, allocations: 49.7 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.341, allocations: 0 / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/1.341, allocations: 0 / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.341, allocations: 3.812 kB / 1.36 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/1.341, allocations: 273 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/1.342, allocations: 82.39 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/1.342, allocations: 16.58 kB / 1.36 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/1.342, allocations: 0 / 1.36 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/1.342, allocations: 32.05 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/1.342, allocations: 4.719 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001534/1.342, allocations: 47.88 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/1.342, allocations: 53.14 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/1.342, allocations: 113.5 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/1.342, allocations: 27.25 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/1.342, allocations: 98.36 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/1.342, allocations: 7.875 kB / 1.361 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/1.342, allocations: 0 / 1.361 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/1.342, allocations: 321.8 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/1.342, allocations: 7.5 kB / 1.361 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/1.342, allocations: 25.53 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/1.342, allocations: 11.66 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.342, allocations: 3.875 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.442e-05/1.342, allocations: 52.67 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/1.342, allocations: 3.844 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/1.342, allocations: 0 / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.342, allocations: 3.938 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/1.342, allocations: 8.922 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/1.342, allocations: 0 / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.225e-05/1.343, allocations: 21.19 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.343, allocations: 3.953 kB / 1.361 GB, free: 31.61 MB / 0.8386 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 6.599e-05/1.343, allocations: 111.2 kB / 1.361 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.724e-05/1.343, allocations: 54.97 kB / 1.361 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/1.343, allocations: 7.719 kB / 1.361 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/1.343, allocations: 9.812 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.343, allocations: 0 / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.343, allocations: 7.828 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/1.343, allocations: 1.453 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/1.343, allocations: 149.9 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.343, allocations: 0 / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/1.343, allocations: 5.766 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.343, allocations: 3.875 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.343, allocations: 0.9844 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.343, allocations: 0 / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.343, allocations: 0 / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/1.343, allocations: 155.2 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/1.343, allocations: 86.38 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.343, allocations: 7 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/1.343, allocations: 9.922 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.343, allocations: 7.906 kB / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/1.343, allocations: 0 / 1.362 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.484e-05/1.343, allocations: 93.73 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.343, allocations: 3.875 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000206/1.344, allocations: 3.781 kB / 1.362 GB, free: 30.97 MB / 0.8386 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.0003519/1.344, allocations: 0.6802 MB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/1.344, allocations: 30.83 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.344, allocations: 0 / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/1.344, allocations: 12.59 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/1.344, allocations: 9.094 kB / 1.362 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/1.345, allocations: 114.3 kB / 1.362 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/1.345, allocations: 0.6889 MB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.676e-05/1.345, allocations: 5.422 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/1.345, allocations: 14.95 kB / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.345, allocations: 0 / 1.363 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/1.364, allocations: 1.142 MB / 1.364 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.364, allocations: 139.1 kB / 1.364 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.852, allocations: 0 / 1.364 GB, free: 29.21 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