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.57/2.57, 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.001316/0.001316, allocations: 180.4 kB / 496.1 MB, free: 12.89 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.519/1.519, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009896/0.0009896, allocations: 91.89 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.617e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9795/1.281, allocations: 149.8 MB / 1.365 GB, free: 4.219 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/1.281, allocations: 62.16 kB / 1.365 GB, free: 4.188 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003917/1.285, allocations: 1.091 MB / 1.366 GB, free: 3.219 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.58e-06/1.285, allocations: 11.94 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.587e-05/1.285, allocations: 0 / 1.366 GB, free: 3.207 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.000666/1.286, allocations: 359 kB / 1.367 GB, free: 2.816 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.998e-05/1.286, allocations: 8.031 kB / 1.367 GB, free: 2.809 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/1.286, allocations: 33.44 kB / 1.367 GB, free: 2.77 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/1.286, allocations: 4 kB / 1.367 GB, free: 2.766 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/1.287, allocations: 174.9 kB / 1.367 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/1.287, allocations: 11.94 kB / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/1.287, allocations: 0 / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.287, allocations: 52.67 kB / 1.367 GB, free: 2.496 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.287, allocations: 0 / 1.367 GB, free: 2.496 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.287, allocations: 7.375 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/1.287, allocations: 3.984 kB / 1.367 GB, free: 2.488 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/1.287, allocations: 23.25 kB / 1.367 GB, free: 2.473 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/1.288, allocations: 304.9 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/1.288, allocations: 77.22 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/1.288, allocations: 20.36 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/1.288, allocations: 0.7656 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/1.288, allocations: 34.12 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/1.288, allocations: 0 / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0002246/1.288, allocations: 57.08 kB / 1.367 GB, free: 1.953 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/1.288, allocations: 51.41 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/1.288, allocations: 109.8 kB / 1.368 GB, free: 1.785 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/1.288, allocations: 37 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/1.289, allocations: 83.33 kB / 1.368 GB, free: 1.664 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/1.289, allocations: 15.19 kB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/1.289, allocations: 0 / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.289, allocations: 317.5 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/1.289, allocations: 11.62 kB / 1.368 GB, free: 1.328 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/1.289, allocations: 28.59 kB / 1.368 GB, free: 1.301 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/1.289, allocations: 11.53 kB / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.289, allocations: 0 / 1.368 GB, free: 1.293 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/1.289, allocations: 56 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.289, allocations: 5.719 kB / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/1.289, allocations: 0 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.289, allocations: 0 / 1.368 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/1.289, allocations: 7.984 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/1.289, allocations: 7.953 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/1.289, allocations: 23.73 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/1.289, allocations: 4.562 kB / 1.368 GB, free: 1.195 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.shaH.hys.y,shaH.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.914e-05/1.289, allocations: 108.9 kB / 1.368 GB, free: 1.082 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/1.289, allocations: 3.906 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/1.289, allocations: 15.91 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.289, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.289, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.289, allocations: 3.953 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/1.29, allocations: 184 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.29, allocations: 0 / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/1.29, allocations: 7.984 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.29, allocations: 192 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.29, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.29, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.29, allocations: 0 / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/1.29, allocations: 154.5 kB / 1.369 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/1.29, allocations: 85.11 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/1.29, allocations: 3.25 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.29, allocations: 7.984 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/1.29, allocations: 11.92 kB / 1.369 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.29, allocations: 4 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.306e-05/1.29, allocations: 96.56 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of sort global known variables: time 3e-07/1.29, allocations: 0 / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002201/1.291, allocations: 8 kB / 1.369 GB, free: 464 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0004776/1.291, allocations: 0.6832 MB / 1.369 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001209/1.291, allocations: 30.98 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.291, allocations: 0 / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-05/1.291, allocations: 14.31 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.292, allocations: 4 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/1.292, allocations: 122.4 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/1.292, allocations: 0.6887 MB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.377e-05/1.292, allocations: 4 kB / 1.37 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/1.292, allocations: 19.23 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.292, allocations: 0 / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/1.307, allocations: 1.454 MB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.307, allocations: 153.1 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.769, allocations: 12 kB / 1.372 GB, free: 13.28 MB / 0.8386 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