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_T.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_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 181.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008927/0.0008927, allocations: 91.42 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 10.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/0.3771, allocations: 131.8 MB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.3773, allocations: 63.97 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002986/0.3803, allocations: 1.122 MB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3804, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3804, allocations: 0 / 1.03 GB, free: 10.72 MB / 0.6823 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.0003869/0.3808, allocations: 371 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3808, allocations: 15.97 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.3809, allocations: 30.56 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3809, allocations: 7.906 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.381, allocations: 167 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3811, allocations: 8 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3811, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3812, allocations: 57.67 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.3812, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.3813, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3813, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3814, allocations: 43.91 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.3818, allocations: 312.7 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3821, allocations: 82.53 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3821, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.3822, allocations: 38.5 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3822, allocations: 0 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002496/0.3824, allocations: 85.72 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3825, allocations: 55.36 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.464e-05/0.3826, allocations: 116.9 kB / 1.031 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3826, allocations: 25.7 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.3827, allocations: 92.14 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.3827, allocations: 7.891 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.3827, allocations: 4 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3828, allocations: 314.8 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.3829, allocations: 19.98 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.3829, allocations: 37.58 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/0.383, allocations: 12.67 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.383, allocations: 4.031 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.3831, allocations: 73.86 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3832, allocations: 4 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3832, allocations: 3.938 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3832, allocations: 48 / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.3833, allocations: 11.98 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3833, allocations: 0 / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.3833, allocations: 23.94 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3834, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 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 () * Number of clocked 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 8.094e-05/0.3834, allocations: 117.8 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3835, allocations: 7.906 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.3835, allocations: 7.891 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3835, allocations: 0 / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3835, allocations: 4 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3835, allocations: 0 / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3837, allocations: 181.6 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3837, allocations: 0 / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.3838, allocations: 8 kB / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3838, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3838, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3838, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3838, allocations: 0 / 1.032 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.384, allocations: 163.5 kB / 1.032 GB, free: 7.945 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.3841, allocations: 93 kB / 1.032 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.3841, allocations: 4 kB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.3842, allocations: 4 kB / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3842, allocations: 11.92 kB / 1.032 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3843, allocations: 0 / 1.032 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.3843, allocations: 95.7 kB / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3843, allocations: 0 / 1.033 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000208/0.3845, allocations: 16 kB / 1.033 GB, free: 7.707 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0004337/0.385, allocations: 0.6967 MB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.3851, allocations: 43.92 kB / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3851, allocations: 0 / 1.033 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.676e-05/0.3852, allocations: 19.98 kB / 1.033 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.3854, allocations: 8.328 kB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.3863, allocations: 0.509 MB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.3865, allocations: 0.6926 MB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.3866, allocations: 0 / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3866, allocations: 19.48 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of SimCode: time 4.81e-07/0.3866, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.3978, allocations: 1.466 MB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.3981, allocations: 181.4 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.875, allocations: 0 / 1.036 GB, free: 4.039 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)