Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009356, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006724/0.006725, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 16.81 kB / 0.6744 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.000927/0.2216, allocations: 449.3 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2227, allocations: 0.8409 MB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2227, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.2228, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.2228, allocations: 7.875 kB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.223, allocations: 23.98 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.2231, allocations: 55.84 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.686e-05/0.2232, allocations: 15.98 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.2233, allocations: 23.86 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.2233, allocations: 15.92 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2234, allocations: 4 kB / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.398e-06/0.2234, allocations: 0 / 0.7894 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.2234, allocations: 15.92 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.2235, allocations: 53.5 kB / 0.7895 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.911e-05/0.2236, allocations: 56.05 kB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2236, allocations: 3.938 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2236, allocations: 0 / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2236, allocations: 0 / 0.7895 GB, free: 9.91 MB / 0.6075 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.00043/0.224, allocations: 359.3 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2241, allocations: 12.03 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2241, allocations: 38.75 kB / 0.7899 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2242, allocations: 12.83 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.2244, allocations: 200.1 kB / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.2244, allocations: 384 / 0.7901 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.2244, allocations: 8.375 kB / 0.7901 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.2246, allocations: 58.23 kB / 0.7902 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.2246, allocations: 11.88 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2246, allocations: 0 / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.2246, allocations: 4 kB / 0.7902 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.2247, allocations: 31.98 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.2252, allocations: 296.8 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.2255, allocations: 86.47 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.2255, allocations: 21 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.2255, allocations: 3.984 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2256, allocations: 38.56 kB / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2256, allocations: 0 / 0.7906 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002374/0.2258, allocations: 77.58 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2259, allocations: 55.34 kB / 0.7908 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.226, allocations: 125.8 kB / 0.7909 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.226, allocations: 25.7 kB / 0.7909 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.226, allocations: 92.14 kB / 0.791 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2261, allocations: 15.83 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.2261, allocations: 13.7 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.2262, allocations: 318.8 kB / 0.7913 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.2262, allocations: 27.92 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.2263, allocations: 25.72 kB / 0.7914 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.751e-05/0.2264, allocations: 36.83 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2264, allocations: 0 / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.2266, allocations: 73.66 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2266, allocations: 4 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2266, allocations: 0 / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.2266, allocations: 0 / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.2267, allocations: 7.984 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2267, allocations: 4 kB / 0.7915 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.2267, allocations: 11.98 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.2268, allocations: 4 kB / 0.7915 GB, free: 7.609 MB / 0.6075 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 (shaH.hys.y,$PRE.shaH.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.2268, allocations: 117.8 kB / 0.7916 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.2269, allocations: 7.906 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.2269, allocations: 7.906 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2269, allocations: 0 / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2269, allocations: 0 / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2269, allocations: 0 / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.2271, allocations: 181.6 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2271, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.2271, allocations: 11.94 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2271, allocations: 0 / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2272, allocations: 7.984 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2272, allocations: 0 / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2272, allocations: 0 / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.2273, allocations: 167.3 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2274, allocations: 89.11 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2274, allocations: 0 / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.2275, allocations: 12.36 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.2275, allocations: 7.984 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.2275, allocations: 0 / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.2276, allocations: 99.27 kB / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.714e-06/0.2276, allocations: 0 / 0.7922 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002126/0.2278, allocations: 7.938 kB / 0.7922 GB, free: 6.805 MB / 0.6075 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003891/0.2282, allocations: 0.7006 MB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.2284, allocations: 39.98 kB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2284, allocations: 0 / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.2284, allocations: 19.98 kB / 0.7929 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.2287, allocations: 8 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2299, allocations: 1.372 MB / 0.7943 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.2301, allocations: 0.6809 MB / 0.795 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.2302, allocations: 7.984 kB / 0.795 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.2302, allocations: 19.44 kB / 0.795 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2302, allocations: 0 / 0.795 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.2404, allocations: 1.446 MB / 0.7964 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.2406, allocations: 199.9 kB / 0.7966 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.853, allocations: 0 / 0.7966 GB, free: 2.234 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)