Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.564/1.564, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001082, allocations: 90.41 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.77e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2689, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8494/1.118, allocations: 131.7 MB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.119, allocations: 70.52 kB / 1.021 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003401/1.122, allocations: 1.098 MB / 1.022 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.904e-06/1.122, allocations: 0 / 1.022 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.122, allocations: 0 / 1.022 GB, free: 2.004 MB / 0.6355 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.0004513/1.123, allocations: 358 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.123, allocations: 8.031 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.52e-05/1.123, allocations: 34.56 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/1.123, allocations: 3.906 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/1.123, allocations: 182.9 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.123, allocations: 6.484 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/1.123, allocations: 9.875 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.123, allocations: 52.62 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.123, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/1.123, allocations: 3.938 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.123, allocations: 4 kB / 1.022 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/1.123, allocations: 19.5 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005709/1.124, allocations: 302.9 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/1.124, allocations: 88 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/1.124, allocations: 14.53 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/1.124, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.124, allocations: 34.56 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/1.124, allocations: 4 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001938/1.125, allocations: 56.69 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.125, allocations: 55.36 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.125, allocations: 116 kB / 1.023 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/1.125, allocations: 25.7 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/1.125, allocations: 95.19 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.125, allocations: 3.906 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/1.125, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.125, allocations: 322 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/1.125, allocations: 7.625 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.061e-05/1.125, allocations: 28.14 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/1.125, allocations: 7.375 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.125, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/1.125, allocations: 65.22 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.125, allocations: 5.875 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.125, allocations: 0 / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.125, allocations: 32 / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/1.125, allocations: 12 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/1.125, allocations: 7.922 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/1.126, allocations: 18.61 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/1.126, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 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.777e-05/1.126, allocations: 105 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/1.126, allocations: 7.75 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/1.126, allocations: 15.58 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.126, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.126, allocations: 0.875 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.126, allocations: 192 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/1.126, allocations: 180.5 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.126, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/1.126, allocations: 7.984 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.126, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/1.126, allocations: 5.188 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.126, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.126, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.126, allocations: 162.6 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/1.126, allocations: 84.27 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/1.126, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/1.127, allocations: 8 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/1.127, allocations: 11.97 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/1.127, allocations: 0 / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.719e-05/1.127, allocations: 100.5 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.127, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002264/1.127, allocations: 8 kB / 1.024 GB, free: 15.24 MB / 0.6511 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.0004804/1.127, allocations: 0.6912 MB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.127, allocations: 22.75 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.128, allocations: 8 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/1.128, allocations: 11.69 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/1.128, allocations: 3.984 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/1.128, allocations: 122 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.129, allocations: 0.6887 MB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.835e-05/1.129, allocations: 4 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/1.129, allocations: 21.81 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/1.129, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/1.143, allocations: 1.45 MB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/1.143, allocations: 163.5 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.726, allocations: 3.938 kB / 1.027 GB, free: 12.05 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)