Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.735/2.735, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001352/0.001352, allocations: 183.1 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.6297 GB, free: 10.67 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.0009731/0.0009726, allocations: 94.62 kB / 0.743 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 10.84 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2192, allocations: 115.3 MB / 0.9785 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0009418/0.2202, allocations: 413.8 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2212, allocations: 0.8399 MB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.2213, allocations: 0 / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.2213, allocations: 3.938 kB / 0.9797 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.2214, allocations: 11.94 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.2216, allocations: 19.98 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.2217, allocations: 55.77 kB / 0.9798 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.739e-05/0.2218, allocations: 12 kB / 0.9798 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.2219, allocations: 19.86 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.114e-05/0.222, allocations: 23.86 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.222, allocations: 4 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.222, allocations: 4 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.2221, allocations: 11.97 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.2221, allocations: 33.64 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.2222, allocations: 48.12 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2222, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2222, allocations: 3.984 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2222, allocations: 0 / 0.9799 GB, free: 26.8 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.0004517/0.2227, allocations: 365.4 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2227, allocations: 12.02 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2228, allocations: 34.56 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.2228, allocations: 7.906 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2231, allocations: 194.9 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2231, allocations: 4 kB / 0.9805 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2232, allocations: 4 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2233, allocations: 65.61 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2234, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2234, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2234, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.2236, allocations: 39.95 kB / 0.9806 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.224, allocations: 300.8 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2245, allocations: 90.45 kB / 0.981 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.2246, allocations: 25.73 kB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2246, allocations: 0 / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.2246, allocations: 30.56 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.2246, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003245/0.225, allocations: 81.7 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.225, allocations: 59.34 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.2251, allocations: 113.8 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.2251, allocations: 33.7 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.2252, allocations: 92.03 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.2252, allocations: 11.84 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.2252, allocations: 4 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.2253, allocations: 318.8 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.2254, allocations: 16 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.119e-05/0.2255, allocations: 33.7 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.2256, allocations: 11.98 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2256, allocations: 0 / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001956/0.2258, allocations: 69.62 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2258, allocations: 8 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2258, allocations: 3.938 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2258, allocations: 3.938 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.2259, allocations: 7.984 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2259, allocations: 3.953 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.2261, allocations: 19.98 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2261, allocations: 4 kB / 0.9819 GB, free: 24.54 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.shaH.hys.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/0.2262, allocations: 115.5 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2262, allocations: 0 / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.2262, allocations: 11.89 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2263, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2263, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2263, allocations: 3.953 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.2265, allocations: 177.6 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2265, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.2265, allocations: 11.94 kB / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2266, allocations: 0 / 0.9822 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2266, allocations: 3.984 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2266, allocations: 0 / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2266, allocations: 4 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.2268, allocations: 167.3 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.2269, allocations: 85.02 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2269, allocations: 4 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.227, allocations: 8 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2271, allocations: 11.97 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2271, allocations: 4 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.124e-05/0.2272, allocations: 91.27 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2272, allocations: 0 / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002949/0.2275, allocations: 8 kB / 0.9826 GB, free: 23.75 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 (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 (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.0004172/0.2279, allocations: 0.6968 MB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2281, allocations: 35.98 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2281, allocations: 0 / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.2282, allocations: 19.98 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2286, allocations: 4 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.2296, allocations: 0.5139 MB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.2297, allocations: 0.6904 MB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.796e-05/0.2298, allocations: 4 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.2299, allocations: 23.42 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.2299, allocations: 3.938 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2488, allocations: 1.486 MB / 0.986 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.2491, allocations: 185.5 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.739, allocations: 1.266 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)