Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.2 MB / 303.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 174.2 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 90.7 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004041/0.0004044, allocations: 14.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0006959/0.2184, allocations: 422 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.2192, allocations: 0.837 MB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.496e-05/0.2193, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.2193, allocations: 7.922 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.2194, allocations: 7.984 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.2195, allocations: 11.98 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.697e-05/0.2196, allocations: 35.89 kB / 0.9808 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.2196, allocations: 19.98 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.2197, allocations: 19.92 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.2198, allocations: 19.92 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2198, allocations: 3.938 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.2198, allocations: 4 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.2198, allocations: 7.922 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.2199, allocations: 33.7 kB / 0.9809 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.048e-05/0.2199, allocations: 56.09 kB / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2199, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2199, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.22, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 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.0003523/0.2203, allocations: 359.2 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.2204, allocations: 12.02 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.297e-05/0.2204, allocations: 38.5 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.2204, allocations: 7.906 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2206, allocations: 198.9 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2206, allocations: 4 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2206, allocations: 8 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.2208, allocations: 57.67 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.2208, allocations: 0 / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2208, allocations: 0 / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.2208, allocations: 0 / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.2209, allocations: 39.91 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.2212, allocations: 304.7 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2215, allocations: 86.52 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.2215, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.2215, allocations: 42.5 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.2215, allocations: 0 / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002064/0.2217, allocations: 73.77 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.2218, allocations: 51.41 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.2218, allocations: 125.8 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2218, allocations: 25.7 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.2219, allocations: 99.98 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.2219, allocations: 7.844 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.2219, allocations: 8 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.19e-05/0.2219, allocations: 322.8 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.222, allocations: 15.98 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.2221, allocations: 29.66 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.2221, allocations: 19.98 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2221, allocations: 32 / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.2222, allocations: 73.58 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.2223, allocations: 4 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2223, allocations: 0 / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2223, allocations: 0 / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.2223, allocations: 8 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2223, allocations: 0 / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.963e-05/0.2224, allocations: 19.94 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2224, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 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 5.141e-05/0.2225, allocations: 118.1 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2225, allocations: 4 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2225, allocations: 11.89 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.2225, allocations: 3.984 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2225, allocations: 4 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.2225, allocations: 0 / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2227, allocations: 173.6 kB / 0.9832 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2227, allocations: 4 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2227, allocations: 11.98 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2227, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.2227, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2227, allocations: 0 / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2228, allocations: 4 kB / 0.9832 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2229, allocations: 167.4 kB / 0.9833 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.2229, allocations: 81.02 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2229, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.223, allocations: 7.984 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.2231, allocations: 11.92 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.2231, allocations: 0 / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.344e-05/0.2231, allocations: 103.2 kB / 0.9835 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2231, allocations: 3.938 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002078/0.2233, allocations: 12 kB / 0.9836 GB, free: 23.06 MB / 0.6198 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.0002501/0.2236, allocations: 0.6851 MB / 0.9842 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.2237, allocations: 47.91 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2237, allocations: 0 / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.2238, allocations: 15.98 kB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.224, allocations: 8 kB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.2246, allocations: 0.5194 MB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.477e-05/0.2247, allocations: 0.6887 MB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.2248, allocations: 4 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.2248, allocations: 19.42 kB / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2248, allocations: 0 / 0.9855 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.2353, allocations: 1.474 MB / 0.9869 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.2356, allocations: 191.4 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/1.698, allocations: 0 / 0.9871 GB, free: 19.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)