Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001477/0.001477, allocations: 180.8 kB / 487.4 MB, free: 5.02 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.575/1.575, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000983/0.0009832, allocations: 91.78 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.031e-05, allocations: 6.031 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.385, allocations: 148.4 MB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.385, allocations: 66.36 kB / 1.351 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004162/1.39, allocations: 1.093 MB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.386e-06/1.39, allocations: 0.5625 kB / 1.352 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.39, allocations: 1.281 kB / 1.352 GB, free: 33.79 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.0004002/1.39, allocations: 359.4 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.39, allocations: 10.38 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/1.39, allocations: 2.625 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/1.39, allocations: 181.5 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.39, allocations: 1.25 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/1.39, allocations: 6.562 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.276e-05/1.39, allocations: 20.48 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/1.391, allocations: 47.39 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.391, allocations: 0.7031 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.391, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.391, allocations: 1.312 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/1.391, allocations: 280.2 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/1.391, allocations: 79.66 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/1.391, allocations: 13.98 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/1.391, allocations: 1.938 kB / 1.353 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/1.392, allocations: 34.23 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.392, allocations: 0 / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000168/1.392, allocations: 49.44 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/1.392, allocations: 51.41 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.392, allocations: 115.3 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/1.392, allocations: 35.05 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/1.392, allocations: 93.56 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.392, allocations: 12.19 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/1.392, allocations: 0 / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.392, allocations: 316.9 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/1.392, allocations: 13.91 kB / 1.354 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/1.392, allocations: 25.64 kB / 1.354 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/1.392, allocations: 9.234 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.392, allocations: 0 / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.835e-05/1.392, allocations: 53.5 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.392, allocations: 3.844 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/1.392, allocations: 0 / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.392, allocations: 0.6562 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.587e-05/1.392, allocations: 11.12 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/1.392, allocations: 1.422 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/1.392, allocations: 22.52 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.393, allocations: 0.7031 kB / 1.354 GB, free: 32.17 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.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 7.47e-05/1.393, allocations: 108.8 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001074/1.393, allocations: 53.23 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/1.393, allocations: 11.75 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/1.393, allocations: 5.656 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.393, allocations: 3.906 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.393, allocations: 0 / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.393, allocations: 8.516 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.393, allocations: 149.4 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.393, allocations: 0 / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/1.393, allocations: 9.766 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.393, allocations: 3.938 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.393, allocations: 0.75 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.393, allocations: 3.125 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.393, allocations: 0 / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/1.393, allocations: 154.4 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/1.393, allocations: 85.47 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.393, allocations: 0.7969 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/1.393, allocations: 9.109 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/1.393, allocations: 8.281 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/1.393, allocations: 0.7031 kB / 1.354 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.574e-05/1.393, allocations: 96.91 kB / 1.355 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.393, allocations: 0 / 1.355 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002001/1.394, allocations: 3.812 kB / 1.355 GB, free: 31.53 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 (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.0003715/1.394, allocations: 0.6877 MB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.394, allocations: 27.42 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.394, allocations: 0 / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/1.394, allocations: 11.95 kB / 1.355 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/1.394, allocations: 11.59 kB / 1.355 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/1.395, allocations: 104.2 kB / 1.355 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/1.395, allocations: 0.688 MB / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.807e-05/1.395, allocations: 5.062 kB / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/1.395, allocations: 17.14 kB / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.395, allocations: 0 / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/1.415, allocations: 1.131 MB / 1.357 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/1.415, allocations: 133.1 kB / 1.357 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.933, allocations: 3.938 kB / 1.357 GB, free: 29.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat does not exist to compare? outputFormat=mat